sorcerer: Switch to wildcard allow origin in appsettings
This commit is contained in:
@@ -79,7 +79,8 @@ let corsPolicy (policy: CorsPolicyBuilder) =
|
||||
.AllowAnyHeader()
|
||||
.AllowAnyMethod()
|
||||
.WithOrigins(appsettings.allowedOrigins)
|
||||
|> ignore
|
||||
.SetIsOriginAllowedToAllowWildcardSubdomains()
|
||||
|> ignore
|
||||
|
||||
let configureServices (service: IServiceCollection) =
|
||||
service
|
||||
|
||||
@@ -53,11 +53,10 @@
|
||||
"http://localhost:8085",
|
||||
"http://localhost:8080",
|
||||
"https://localhost:8080",
|
||||
"https://sorcerer.local.oceanbox.io:8080",
|
||||
"https://atlantis.local.oceanbox.io:8080",
|
||||
"https://<x>-atlantis.dev.oceanbox.io",
|
||||
"https://<x>-sorcerer.ekman.oceanbox.io",
|
||||
"http://<x>-sorcerer.ekman.oceanbox.io"
|
||||
"http://*.oceanbox.io",
|
||||
"https://*.oceanbox.io",
|
||||
"http://*.oceanbox.io:8080",
|
||||
"https://*.oceanbox.io:8080",
|
||||
],
|
||||
"appName": "sorcerer",
|
||||
"appEnv": "<x>",
|
||||
|
||||
Reference in New Issue
Block a user