feat: Update CORS allowed origins to use production URL
This commit is contained in:
@@ -8,7 +8,7 @@ play.http.context="/api"
|
|||||||
play.modules.enabled += "modules.GatewayModule"
|
play.modules.enabled += "modules.GatewayModule"
|
||||||
|
|
||||||
play.filters.cors {
|
play.filters.cors {
|
||||||
allowedOrigins = ["http://localhost:5173"]
|
allowedOrigins = ["https://knockout.janis-eccarius.de"]
|
||||||
allowedCredentials = true
|
allowedCredentials = true
|
||||||
allowedHttpMethods = ["GET", "POST", "PUT", "DELETE", "OPTIONS"]
|
allowedHttpMethods = ["GET", "POST", "PUT", "DELETE", "OPTIONS"]
|
||||||
allowedHttpHeaders = ["Accept", "Content-Type", "Origin", "X-Requested-With"]
|
allowedHttpHeaders = ["Accept", "Content-Type", "Origin", "X-Requested-With"]
|
||||||
|
|||||||
Reference in New Issue
Block a user