diff --git a/tensors/server/__init__.py b/tensors/server/__init__.py index 56587a3..5087e8b 100644 --- a/tensors/server/__init__.py +++ b/tensors/server/__init__.py @@ -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")