Skip to content

Commit adaf713

Browse files
committed
Set default storage to s3 when it is configured.
1 parent f24588f commit adaf713

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

hypha/settings/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -545,7 +545,7 @@
545545
# S3 settings
546546

547547
if env.str("AWS_STORAGE_BUCKET_NAME", None):
548-
STORAGES["public_media_storage"] = {
548+
STORAGES["default"] = {
549549
"BACKEND": "hypha.storage_backends.PublicMediaStorage",
550550
}
551551
STORAGES["private_media_storage"] = {

0 commit comments

Comments
 (0)