Skip to content
This repository was archived by the owner on Mar 27, 2023. It is now read-only.

Commit f5c8a73

Browse files
committed
set AWS_S3_CUSTOM_DOMAIN
1 parent 00283b1 commit f5c8a73

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

backend/backend/settings/production.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
STATIC_URL = "/static/"
1717
MEDIA_URL = "/media/"
1818
FULL_DOMAIN_NAME = os.environ.get("FULL_DOMAIN_NAME", "dev.mysite.com") # noqa
19+
AWS_S3_CUSTOM_DOMAIN = FULL_DOMAIN_NAME
1920

2021
STATIC_ROOT = f"//{FULL_DOMAIN_NAME}/{STATIC_URL}/"
2122
MEDIA_ROOT = f"//{FULL_DOMAIN_NAME}/{MEDIA_URL}/"

0 commit comments

Comments
 (0)