diff --git a/BlueWest.Api/Startup.cs b/BlueWest.Api/Startup.cs index 427cbc7..93808cf 100644 --- a/BlueWest.Api/Startup.cs +++ b/BlueWest.Api/Startup.cs @@ -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