Fix no one being allowed to use the app

pull/1/head
Luca 3 years ago
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! # SECURITY WARNING: don't run with debug turned on in production!
DEBUG = getenv('ENVIRONMENT', 'development') != '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 # Application definition

Loading…
Cancel
Save