Startup modified
This commit is contained in:
parent
3488b1f299
commit
4b35c3f75c
|
@ -44,13 +44,12 @@ namespace BlueWest.WebApi
|
||||||
{
|
{
|
||||||
services.AddCors(options =>
|
services.AddCors(options =>
|
||||||
{
|
{
|
||||||
/*options.AddPolicy(name: MyAllowSpecificOrigins,
|
options.AddPolicy(name: MyAllowSpecificOrigins,
|
||||||
builder =>
|
builder =>
|
||||||
{
|
{
|
||||||
builder.WithOrigins("http://localhost", "http://127.0.0.1", "http://localhost:3000",
|
builder.WithOrigins("http://127.0.0.1:5173", "localhost:5173", "127.0.0.1:5173")
|
||||||
"http://127.0.0.1:3000", "localhost:3000", "127.0.0.1:3000")
|
|
||||||
.AllowAnyHeader().AllowAnyMethod();
|
.AllowAnyHeader().AllowAnyMethod();
|
||||||
});*/
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
services
|
services
|
||||||
|
|
Loading…
Reference in New Issue