fix TypeError: can only concatenate list (not "str") to list

This commit is contained in:
Jens Langhammer 2019-03-20 22:50:09 +01:00
parent c23ceacd0b
commit ae3d3d0295
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ SECRET_KEY = CONFIG.get('secret_key')
# SECURITY WARNING: don't run with debug turned on in production! # SECURITY WARNING: don't run with debug turned on in production!
DEBUG = CONFIG.get('debug') DEBUG = CONFIG.get('debug')
INTERNAL_IPS = ['127.0.0.1'] INTERNAL_IPS = ['127.0.0.1']
ALLOWED_HOSTS = CONFIG.get('domains', []) + CONFIG.get('primary_domain') ALLOWED_HOSTS = CONFIG.get('domains', []) + [CONFIG.get('primary_domain')]
SECURE_PROXY_SSL_HEADER = ('HTTP_X_FORWARDED_PROTO', 'https') SECURE_PROXY_SSL_HEADER = ('HTTP_X_FORWARDED_PROTO', 'https')
LOGIN_URL = 'passbook_core:auth-login' LOGIN_URL = 'passbook_core:auth-login'