diff options
Diffstat (limited to 'config/settings/production.py')
-rw-r--r-- | config/settings/production.py | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/config/settings/production.py b/config/settings/production.py index 1c04152..0034fd8 100644 --- a/config/settings/production.py +++ b/config/settings/production.py @@ -88,14 +88,14 @@ SECURE_CONTENT_TYPE_NOSNIFF = env.bool( # aws_s3_domain = AWS_S3_CUSTOM_DOMAIN or f"{AWS_STORAGE_BUCKET_NAME}.s3.amazonaws.com" # # STATIC & MEDIA # # ------------------------ -# STORAGES = { -# "default": { -# "BACKEND": "django.core.files.storage.FileSystemStorage", -# }, -# "staticfiles": { -# "BACKEND": "whitenoise.storage.CompressedManifestStaticFilesStorage", -# }, -# } +STORAGES = { + # "default": { + # "BACKEND": "django.core.files.storage.FileSystemStorage", + # }, + "staticfiles": { + "BACKEND": "whitenoise.storage.CompressedManifestStaticFilesStorage", + }, +} # MEDIA_URL = f"https://{aws_s3_domain}/media/" # COLLECTFAST_STRATEGY = "collectfast.strategies.boto3.Boto3Strategy" # STATIC_URL = f"https://{aws_s3_domain}/static/" |