fixed cors policy
This commit is contained in:
@@ -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();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user