diff --git a/backend/api.py b/backend/api.py index 682f43c9..0a20f158 100644 --- a/backend/api.py +++ b/backend/api.py @@ -148,7 +148,7 @@ app.add_middleware( allow_origins=allowed_origins, allow_origin_regex=allow_origin_regex, allow_credentials=True, - allow_methods=["GET", "POST", "PUT", "DELETE", "OPTIONS"], + allow_methods=["GET", "POST", "PUT", "PATCH", "DELETE", "OPTIONS"], allow_headers=["Content-Type", "Authorization", "X-Project-Id", "X-MCP-URL", "X-MCP-Type", "X-MCP-Headers", "X-Refresh-Token", "X-API-Key"], )