From 4d626b24167886d8c9e50eb320ccd18be653fcb2 Mon Sep 17 00:00:00 2001 From: Adrian Ciolek Date: Wed, 24 Apr 2024 01:56:52 +0200 Subject: [PATCH] fix error with list --- src/cs2_battle_bot/settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cs2_battle_bot/settings.py b/src/cs2_battle_bot/settings.py index 7bfaf2a..58c88ca 100644 --- a/src/cs2_battle_bot/settings.py +++ b/src/cs2_battle_bot/settings.py @@ -30,7 +30,7 @@ # SECURITY WARNING: don't run with debug turned on in production! DEBUG = os.environ.get("DEBUG", "True") == "True" -ALLOWED_HOSTS = os.environ.get("ALLOWED_HOSTS", ["*"]).split(",") +ALLOWED_HOSTS = ["*"] CORS_ALLOWED_ORIGINS = os.environ.get("CORS_ALLOWED_ORIGINS", "http://localhost:8002").split(",") CORS_ALLOW_ALL_ORIGINS = os.environ.get("CORS_ALLOW_ALL_ORIGINS", True) CSRF_TRUSTED_ORIGINS = os.environ.get(