|
|
@ -32,7 +32,9 @@ SECRET_KEY = PW_HASH.hexdigest()
|
|
|
|
# SECURITY WARNING: don't run with debug turned on in production!
|
|
|
|
# SECURITY WARNING: don't run with debug turned on in production!
|
|
|
|
DEBUG = bool(environ.get("DJANGO_DEBUG"))
|
|
|
|
DEBUG = bool(environ.get("DJANGO_DEBUG"))
|
|
|
|
|
|
|
|
|
|
|
|
ALLOWED_HOSTS = [i.strip() for i in environ.get("TA_HOST").split()]
|
|
|
|
ALLOWED_HOSTS = []
|
|
|
|
|
|
|
|
if environ.get("TA_HOST"):
|
|
|
|
|
|
|
|
ALLOWED_HOSTS = [i.strip() for i in environ.get("TA_HOST").split()]
|
|
|
|
|
|
|
|
|
|
|
|
CSRF_TRUSTED_ORIGINS = []
|
|
|
|
CSRF_TRUSTED_ORIGINS = []
|
|
|
|
for host in ALLOWED_HOSTS:
|
|
|
|
for host in ALLOWED_HOSTS:
|
|
|
|