From 66b55945eb8f095c08a8f859955d31f7fc32ce0e Mon Sep 17 00:00:00 2001 From: Janis Date: Wed, 21 Jan 2026 19:31:26 +0100 Subject: [PATCH] feat: Update CORS allowed origins to use production URL --- knockoutwhistweb/conf/prod.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/knockoutwhistweb/conf/prod.conf b/knockoutwhistweb/conf/prod.conf index 3606248..5880ec7 100644 --- a/knockoutwhistweb/conf/prod.conf +++ b/knockoutwhistweb/conf/prod.conf @@ -8,7 +8,7 @@ play.http.context="/api" play.modules.enabled += "modules.GatewayModule" play.filters.cors { - allowedOrigins = ["http://localhost:5173"] + allowedOrigins = ["https://knockout.janis-eccarius.de"] allowedCredentials = true allowedHttpMethods = ["GET", "POST", "PUT", "DELETE", "OPTIONS"] allowedHttpHeaders = ["Accept", "Content-Type", "Origin", "X-Requested-With"]