From e4384ee8945ac462fe1f3580215117e0a438f71a Mon Sep 17 00:00:00 2001 From: lq64 Date: Thu, 18 Dec 2025 09:47:25 +0100 Subject: [PATCH] feat(ui): FRO-36 PWA (#110) Added localhost:3000 to CORS for PWA to work Co-authored-by: LQ63 Reviewed-on: https://git.janis-eccarius.de/KnockOutWhist/KnockOutWhist-Web/pulls/110 Reviewed-by: Janis Co-authored-by: lq64 Co-committed-by: lq64 --- knockoutwhistweb/conf/application.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/knockoutwhistweb/conf/application.conf b/knockoutwhistweb/conf/application.conf index 3d41095..70674f6 100644 --- a/knockoutwhistweb/conf/application.conf +++ b/knockoutwhistweb/conf/application.conf @@ -17,7 +17,7 @@ auth { play.filters.enabled += "play.filters.cors.CORSFilter" play.filters.cors { - allowedOrigins = ["http://localhost:5173"] + allowedOrigins = ["http://localhost:5173", "http://localhost:3000"] allowedCredentials = true allowedHttpMethods = ["GET", "POST", "PUT", "DELETE", "OPTIONS"] allowedHttpHeaders = ["Accept", "Content-Type", "Origin", "X-Requested-With"]