diff --git a/JSMR.Api/Program.cs b/JSMR.Api/Program.cs index 2f8c620..17f2973 100644 --- a/JSMR.Api/Program.cs +++ b/JSMR.Api/Program.cs @@ -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()); }); diff --git a/JSMR.UI.Blazor/Pages/Circles.razor b/JSMR.UI.Blazor/Pages/Circles.razor index 81515d6..e4eb6b7 100644 --- a/JSMR.UI.Blazor/Pages/Circles.razor +++ b/JSMR.UI.Blazor/Pages/Circles.razor @@ -36,6 +36,58 @@ else if (searchResults.Items.Length == 0) } else { +