diff --git a/tubesync/tubesync/local_settings.py.container b/tubesync/tubesync/local_settings.py.container index abd8336..ce34139 100644 --- a/tubesync/tubesync/local_settings.py.container +++ b/tubesync/tubesync/local_settings.py.container @@ -15,7 +15,7 @@ SECRET_KEY = str(os.getenv('DJANGO_SECRET_KEY', 'tubesync-django-secret')) ALLOWED_HOSTS_STR = os.getenv('TUBESYNC_HOSTS', '') -if len(ALLOWED_HOSTS_STR) > 0 +if len(ALLOWED_HOSTS_STR) > 0: ALLOWED_HOSTS_STR += ',' ALLOWED_HOSTS_STR += '127.0.0.1,localhost,::1'