[patch] 修正ks3问题且优化pillow依赖安装时间
This commit is contained in:
@@ -96,9 +96,10 @@ def upload_installer(connection, installer_path):
|
||||
policy='public-read' # Set ACL policy
|
||||
)
|
||||
|
||||
# Generate download URL (using HTTPS)
|
||||
# Generate download URL (using KS3 third-level domain format)
|
||||
# Format: https://{bucket}.{endpoint}/{key}
|
||||
protocol = 'https' if KS3_IS_SECURE else 'http'
|
||||
download_url = f"{protocol}://{KS3_ENDPOINT}/{KS3_BUCKET}/{ks3_key}"
|
||||
download_url = f"{protocol}://{KS3_BUCKET}.{KS3_ENDPOINT}/{ks3_key}"
|
||||
|
||||
logger.info(f"Upload successful!")
|
||||
logger.info(f"Download URL: {download_url}")
|
||||
|
||||
Reference in New Issue
Block a user