From 6aa4aa776c834eecc027e3bb6cb4b8c89f8759cd Mon Sep 17 00:00:00 2001 From: Ramforth Date: Fri, 31 Oct 2025 21:16:54 +0100 Subject: [PATCH] Make CORS allow_origins more permissive for testing in main.py --- weather_overlay/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/weather_overlay/main.py b/weather_overlay/main.py index c8dced2..a209216 100644 --- a/weather_overlay/main.py +++ b/weather_overlay/main.py @@ -7,7 +7,7 @@ app = FastAPI() app.add_middleware( CORSMiddleware, - allow_origins=["https://overlays.ramforth.net", "http://192.168.10.16"], + allow_origins=["https://overlays.ramforth.net", "http://192.168.10.16", "ws://192.168.10.16", "wss://overlays.ramforth.net", "*"], allow_credentials=True, allow_methods=["*"], allow_headers=["*"],