Commit 6baf80eb authored by Jens Langhammer's avatar Jens Langhammer

handle config.domains being empty

parent 433fe491
pyazo (1.9.10) stable; urgency=medium
pyazo (1.9.11) stable; urgency=medium
* improve docker image
* improve kubernetes deployment and docs
......
......@@ -43,7 +43,7 @@ ALLOWED_HOSTS = set([
urlparse(CONFIG.get('external_url')).netloc,
socket.getfqdn(),
socket.gethostname()
] + CONFIG.get('domains'))
] + CONFIG.get('domains', []))
LOGIN_REDIRECT_URL = 'index'
# Application definition
......
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