diff --git a/Knots/Program.cs b/Knots/Program.cs index 62c2dd3..3a61ccf 100644 --- a/Knots/Program.cs +++ b/Knots/Program.cs @@ -13,7 +13,7 @@ builder.Services.AddCors(options => { options.AddDefaultPolicy(policyBuilder => { policyBuilder - .WithOrigins("http://localhost:5250/swagger") + .WithOrigins("http://localhost:5250/") .WithMethods("GET", "POST", "PUT", "PATCH", "DELETE") .AllowAnyHeader(); });