Add HTTPS version of NGINX Proxy Manager IP to CORS allowed origins in main.py

This commit is contained in:
Ramforth
2025-10-31 21:34:45 +01:00
parent 6aa4aa776c
commit 2ee32a1cc2

View File

@@ -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=["*"],