Skip to content

Commit e8122f9

Browse files
fix: accept DJANGO_ALLOWED_HOST
1 parent 9d77473 commit e8122f9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/django/thirdplaces/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
# SECURITY WARNING: don't run with debug turned on in production!
2727
DEBUG = True
2828

29-
ALLOWED_HOSTS = []
29+
ALLOWED_HOSTS = os.environ.get('DJANGO_ALLOWED_HOST').split(',')
3030

3131

3232
# Application definition

0 commit comments

Comments
 (0)