Skip to content

Commit

Permalink
update settings.STORAGES
Browse files Browse the repository at this point in the history
  • Loading branch information
erikvw committed Sep 10, 2024
1 parent 358d099 commit b7b03cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion effect_edc/settings/defaults.py
Original file line number Diff line number Diff line change
Expand Up @@ -482,7 +482,7 @@
AWS_S3_OBJECT_PARAMETERS = {"CacheControl": "max-age=86400"}
AWS_LOCATION = env.str("AWS_LOCATION")
AWS_IS_GZIPPED = True
STATICFILES_STORAGE = "storages.backends.s3boto3.S3Boto3Storage"
STORAGES = {"staticfiles": {"BACKEND": "storages.backends.s3boto3.S3Boto3Storage"}}
STATIC_URL = f"{os.path.join(AWS_S3_CUSTOM_DOMAIN, AWS_LOCATION)}/"
STATIC_ROOT = ""
else:
Expand Down

0 comments on commit b7b03cc

Please sign in to comment.