diff --git a/trustchain_idhub/settings.py b/trustchain_idhub/settings.py index 15c1e82..290ff63 100644 --- a/trustchain_idhub/settings.py +++ b/trustchain_idhub/settings.py @@ -33,8 +33,8 @@ SECRET_KEY = config('SECRET_KEY') DEBUG = config('DEBUG', default=False, cast=bool) DEVELOPMENT = config('DEVELOPMENT', default=False, cast=bool) -ALLOWED_HOSTS = config('ALLOWED_HOSTS', default=[]) -CSRF_TRUSTED_ORIGINS = config('CSRF_TRUSTED_ORIGINS', default=[]) +ALLOWED_HOSTS = config('ALLOWED_HOSTS', default='', cast=Csv()) +CSRF_TRUSTED_ORIGINS = config('CSRF_TRUSTED_ORIGINS', default='', cast=Csv()) DOMAIN = config("DOMAIN", "http://localhost")