Updated circle page. Updated Api to allow any origin.
Some checks failed
ci / build-test (push) Failing after 1m3s
ci / publish-image (push) Has been skipped

This commit is contained in:
2025-11-13 21:35:02 -05:00
parent 334bbe9ef2
commit 76284f2fab
3 changed files with 103 additions and 8 deletions

View File

@@ -52,13 +52,15 @@ 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)
)
.AllowAnyOrigin()
//.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());
});