forked from ddrilling/AsbCloudServer
fix cors
This commit is contained in:
parent
7e1ccc21ab
commit
00ef6a1491
@ -37,8 +37,10 @@ namespace AsbCloudWebApi
|
|||||||
.AllowAnyMethod()
|
.AllowAnyMethod()
|
||||||
.WithOrigins(
|
.WithOrigins(
|
||||||
"http://0.0.0.0:3000",
|
"http://0.0.0.0:3000",
|
||||||
|
"http://*:3000",
|
||||||
"http://localhost:3000",
|
"http://localhost:3000",
|
||||||
"http://0.0.0.0:5000",
|
"http://0.0.0.0:5000",
|
||||||
|
"http://*:5000",
|
||||||
"http://localhost:5000"
|
"http://localhost:5000"
|
||||||
)
|
)
|
||||||
.AllowCredentials();
|
.AllowCredentials();
|
||||||
|
Loading…
Reference in New Issue
Block a user