From 2ee32a1cc2d431b2ae180049e187e92fefb128c7 Mon Sep 17 00:00:00 2001 From: Ramforth Date: Fri, 31 Oct 2025 21:34:45 +0100 Subject: [PATCH] Add HTTPS version of NGINX Proxy Manager IP to CORS allowed origins 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 a209216..cdb49f6 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", "ws://192.168.10.16", "wss://overlays.ramforth.net", "*"], + allow_origins=["https://overlays.ramforth.net", "http://192.168.10.16", "https://192.168.10.16", "ws://192.168.10.16", "wss://overlays.ramforth.net", "*"], allow_credentials=True, allow_methods=["*"], allow_headers=["*"],