fixed cors policy

This commit is contained in:
2024-04-22 10:37:10 +02:00
parent f8da722c30
commit 7c174c9c1c

View File

@@ -52,7 +52,7 @@ namespace WD7UVN_HFT_2023241.Endpoint
.AllowCredentials() .AllowCredentials()
.AllowAnyMethod() .AllowAnyMethod()
.AllowAnyHeader() .AllowAnyHeader()
.WithOrigins("http://localhost:25415")); .WithOrigins("https://localhost:5003"));
app.UseRouting(); app.UseRouting();