Skip to content

Commit 51cad13

Browse files
committed
Update config for static and media URLs for AWS
1 parent bba36b2 commit 51cad13

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/config/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ def debug(_):
295295
AWS_S3_URL_PROTOCOL = "http:"
296296

297297
else:
298-
AWS_S3_CUSTOM_DOMAIN = f"{AWS_STORAGE_BUCKET_NAME}.s3.amazonaws.com"
298+
AWS_S3_CUSTOM_DOMAIN = os.getenv("AWS_STATIC_URL", "cdn.jandig.app")
299299
AWS_S3_URL_PROTOCOL = "https:"
300300

301301
# Static configuration

0 commit comments

Comments
 (0)