Startup modified

This commit is contained in:
CodeLiturgy 2022-09-11 04:22:01 +01:00
parent 3488b1f299
commit 4b35c3f75c
1 changed files with 3 additions and 4 deletions

View File

@ -44,13 +44,12 @@ namespace BlueWest.WebApi
{
services.AddCors(options =>
{
/*options.AddPolicy(name: MyAllowSpecificOrigins,
options.AddPolicy(name: MyAllowSpecificOrigins,
builder =>
{
builder.WithOrigins("http://localhost", "http://127.0.0.1", "http://localhost:3000",
"http://127.0.0.1:3000", "localhost:3000", "127.0.0.1:3000")
builder.WithOrigins("http://127.0.0.1:5173", "localhost:5173", "127.0.0.1:5173")
.AllowAnyHeader().AllowAnyMethod();
});*/
});
});
services