mirror of
https://github.com/makeplane/plane
synced 2024-06-14 14:31:34 +00:00
fix: project exports (#3441)
Co-authored-by: sriram veeraghanta <veeraghanta.sriram@gmail.com>
This commit is contained in:
parent
47681fe9f8
commit
4a436eeee2
@ -97,7 +97,7 @@ def upload_to_s3(zip_file, workspace_id, token_id, slug):
|
|||||||
)
|
)
|
||||||
# Create the new url with updated domain and protocol
|
# Create the new url with updated domain and protocol
|
||||||
presigned_url = presigned_url.replace(
|
presigned_url = presigned_url.replace(
|
||||||
"http://plane-minio:9000/uploads/",
|
f"{settings.AWS_S3_ENDPOINT_URL}/{settings.AWS_STORAGE_BUCKET_NAME}/",
|
||||||
f"{settings.AWS_S3_URL_PROTOCOL}//{settings.AWS_S3_CUSTOM_DOMAIN}/",
|
f"{settings.AWS_S3_URL_PROTOCOL}//{settings.AWS_S3_CUSTOM_DOMAIN}/",
|
||||||
)
|
)
|
||||||
else:
|
else:
|
||||||
|
Loading…
Reference in New Issue
Block a user