Allow multiple hosts
This commit is contained in:
parent
84801a7204
commit
708c332b0d
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ if DEBUG:
|
||||||
])
|
])
|
||||||
host = os.getenv('HOST', None)
|
host = os.getenv('HOST', None)
|
||||||
if host:
|
if host:
|
||||||
ALLOWED_HOSTS.append(host)
|
ALLOWED_HOSTS.extend(host.split(','))
|
||||||
|
|
||||||
ADMINS = [('Gabriel', os.getenv('ADMIN_EMAIL')), ]
|
ADMINS = [('Gabriel', os.getenv('ADMIN_EMAIL')), ]
|
||||||
SERVER_EMAIL = os.getenv('SERVER_EMAIL')
|
SERVER_EMAIL = os.getenv('SERVER_EMAIL')
|
||||||
|
|
Loading…
Reference in a new issue