Skip to content

Commit

Permalink
storage: don't use access url for presigning by default, make it a se…
Browse files Browse the repository at this point in the history
…tting (defaulting to false)
  • Loading branch information
ikreymer committed Nov 23, 2024
1 parent 51ee06f commit ba3cac0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/btrixcloud/storages.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ def _create_s3_storage(self, storage: dict[str, str]) -> S3Storage:
use_access_for_presign = False
else:
access_endpoint_url = storage.get("access_endpoint_url") or endpoint_url
use_access_for_presign = True
use_access_for_presign = storage.get("use_access_for_presign", False)

return S3Storage(
access_key=storage["access_key"],
Expand Down

0 comments on commit ba3cac0

Please sign in to comment.