mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-04-29 10:51:27 +00:00
Revert seed_assets to only do models root, remove blake3 requirement for now, make posting assets endpoint inaccessible with a 501
This commit is contained in:
@@ -147,6 +147,7 @@ async def create_asset_from_hash(request: web.Request) -> web.Response:
|
||||
@ROUTES.post("/api/assets")
|
||||
async def upload_asset(request: web.Request) -> web.Response:
|
||||
"""Multipart/form-data endpoint for Asset uploads."""
|
||||
return _error_response(501, "NOT_IMPLEMENTED", "Uploading assets is not implemented yet.")
|
||||
|
||||
if not (request.content_type or "").lower().startswith("multipart/"):
|
||||
return _error_response(415, "UNSUPPORTED_MEDIA_TYPE", "Use multipart/form-data for uploads.")
|
||||
|
||||
Reference in New Issue
Block a user