feat: Update CORS allowed origins to use production URL

This commit is contained in:
2026-01-21 19:31:26 +01:00
parent 50145c914b
commit 66b55945eb

View File

@@ -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"]