forked from ddrilling/AsbCloudServer
Update cors settings. Add some ports.
This commit is contained in:
parent
f76cc52fc8
commit
e6910d0d5f
@ -43,21 +43,33 @@ namespace AsbCloudWebApi
|
||||
policy.AllowAnyHeader()
|
||||
.AllowAnyMethod()
|
||||
.WithOrigins(
|
||||
"http://0.0.0.0",
|
||||
"http://*",
|
||||
"http://localhost",
|
||||
|
||||
"http://0.0.0.0:3000",
|
||||
"http://*:3000",
|
||||
"http://localhost:3000",
|
||||
|
||||
"http://0.0.0.0:5000",
|
||||
"http://*:5000",
|
||||
"http://localhost:5000",
|
||||
"http://*",
|
||||
|
||||
"https://0.0.0.0",
|
||||
"https://*",
|
||||
"https://localhost",
|
||||
|
||||
"https://0.0.0.0:3000",
|
||||
"https://*:3000",
|
||||
"https://localhost:3000",
|
||||
|
||||
"https://0.0.0.0:5001",
|
||||
"https://*:5001",
|
||||
"https://localhost:5001",
|
||||
"https://*:443"
|
||||
|
||||
"https://0.0.0.0:443",
|
||||
"https://*:443",
|
||||
"https://localhost:443"
|
||||
)
|
||||
.AllowCredentials();
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user