From 8f3323dc4137bd41d551d8642a860b3d73bf7d06 Mon Sep 17 00:00:00 2001 From: Robin Huang Date: Tue, 31 Dec 2024 13:14:54 -0800 Subject: [PATCH] Fixed: registry node pack file header should be zip. (#225) --- comfy_cli/file_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/comfy_cli/file_utils.py b/comfy_cli/file_utils.py index 6e6df0f..fee7a94 100644 --- a/comfy_cli/file_utils.py +++ b/comfy_cli/file_utils.py @@ -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