Added Blazor projects. Minor API/core updates.
All checks were successful
ci / build-test (push) Successful in 1m35s
ci / publish-image (push) Has been skipped

This commit is contained in:
2025-11-07 22:18:04 -05:00
parent 4020a01682
commit 840bec72d2
77 changed files with 60692 additions and 1 deletions

View File

@@ -49,7 +49,22 @@ Log.Logger = new LoggerConfiguration()
.CreateLogger();
builder.Host.UseSerilog();
builder.Services.AddCors(o =>
{
o.AddPolicy("ui-dev", p => p
.WithOrigins(
"https://localhost:5173", // vite-like
"https://localhost:5001", // typical https dev
"http://localhost:5000", // typical http dev
"https://localhost:7112", // blazor wasm dev https (adjust to your port)
"http://localhost:5153" // blazor wasm dev http (adjust to your port)
)
.AllowAnyHeader()
.AllowAnyMethod());
});
var app = builder.Build();
app.UseCors("ui-dev");
// Configure the HTTP request pipeline.
if (app.Environment.IsDevelopment())