Make CORS allow_origins more permissive for testing in main.py

This commit is contained in:
Ramforth
2025-10-31 21:16:54 +01:00
parent 844e85d3b2
commit 6aa4aa776c

View File

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