From 6c291e22942ea167349bab79baffccc1bf381864 Mon Sep 17 00:00:00 2001 From: Mojtaba-z Date: Mon, 9 Feb 2026 09:48:56 +0330 Subject: [PATCH] fix --> bug of download uploadded file --- common/storage.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/storage.py b/common/storage.py index 389f1a6..15f05e8 100644 --- a/common/storage.py +++ b/common/storage.py @@ -23,7 +23,7 @@ def upload_to_storage(file_obj, file_name): ExtraArgs={'ACL': 'public-read'} # دسترسی عمومی ) - return f"{STORAGE_ENDPOINT}/{STORAGE_ENDPOINT}/{file_name}" + return f"{STORAGE_ENDPOINT}/{STORAGE_BUCKET_NAME}/{file_name}" except NoCredentialsError: raise Exception("اعتبارنامه‌های AWS معتبر نیستند")