Skip to content

Commit

Permalink
Fixed: registry node pack file header should be zip.
Browse files Browse the repository at this point in the history
  • Loading branch information
robinjhuang committed Dec 31, 2024
1 parent e68cca7 commit 14a223d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion comfy_cli/file_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ def zip_files(zip_filename):
def upload_file_to_signed_url(signed_url: str, file_path: str):
try:
with open(file_path, "rb") as f:
headers = {"Content-Type": "application/gzip"}
headers = {"Content-Type": "application/zip"}
response = requests.put(signed_url, data=f, headers=headers)

# Simple success check
Expand Down

0 comments on commit 14a223d

Please sign in to comment.