Commit 876567f9 authored by PCoder's avatar PCoder

Correct the way we get ALLOWED_HOSTS

parent 5ec63d85
Pipeline #176 canceled with stages
......@@ -32,10 +32,10 @@ AUTH_LDAP_START_TLS = os.environ.get('LDAP_USE_TLS', False)
BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
ALLOWED_HOSTS = os.environ.get('ALLOWED_HOSTS', 'localhost')
DEBUG = os.environ.get('DEBUG', False)
ALLOWED_HOSTS = os.environ.get('ALLOWED_HOSTS', 'localhost').split(",")
INSTALLED_APPS = [
'django.contrib.admin',
'django.contrib.auth',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment