diff --git a/backend/kittygram_backend/settings.py b/backend/kittygram_backend/settings.py index 6dc4cdb..5aade09 100644 --- a/backend/kittygram_backend/settings.py +++ b/backend/kittygram_backend/settings.py @@ -13,9 +13,7 @@ DEBUG = os.getenv('DEBUG', 'False') == 'True' -ALLOWED_HOSTS = os.getenv('ALLOWED_HOSTS', '').split(',') -if '*' in ALLOWED_HOSTS: - ALLOWED_HOSTS = ['*'] +ALLOWED_HOSTS = os.getenv('ALLOWED_HOSTS', '*').split(',') STATIC_ROOT = '/app/collected_static'