Fix no one being allowed to use the app
This commit is contained in:
parent
664e1617b0
commit
4cc1a082c9
|
@ -26,7 +26,7 @@ SECRET_KEY = getenv('SECRET_KEY', 'django-insecure-pdgzgd_!w&&cfqc%r&!v_^6pgf!sz
|
|||
# SECURITY WARNING: don't run with debug turned on in production!
|
||||
DEBUG = getenv('ENVIRONMENT', 'development') != 'production'
|
||||
|
||||
ALLOWED_HOSTS = getenv('ALLOWED_HOSTS', '').split(',')
|
||||
ALLOWED_HOSTS = list(filter(lambda s: s != '', getenv('ALLOWED_HOSTS', '').split(',')))
|
||||
|
||||
|
||||
# Application definition
|
||||
|
|
Loading…
Reference in New Issue