Disable CORS entirely

This commit is contained in:
Adam Ladachowski
2026-02-15 23:54:51 +01:00
parent ff9736dbe6
commit 34f683ad56
+1 -8
View File
@@ -49,14 +49,7 @@ def create_app() -> FastAPI:
redoc_url=None,
)
# CORS - allow all origins (credentials=False required for wildcard origin)
app.add_middleware(
CORSMiddleware,
allow_origins=["*"],
allow_credentials=False,
allow_methods=["*"],
allow_headers=["*"],
)
# CORS disabled - ComfyUI proxy handles its own requests
# Public endpoints (no auth)
@app.get("/status")