From 67598dea6cd86652a2965d25025b549b26ba77f3 Mon Sep 17 00:00:00 2001 From: ramonavic Date: Thu, 26 Sep 2024 11:36:58 +0200 Subject: [PATCH] get correct env var name for insights connection string --- app/main/settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/main/settings.py b/app/main/settings.py index efa602b..b3ebc81 100644 --- a/app/main/settings.py +++ b/app/main/settings.py @@ -40,7 +40,7 @@ DEBUG = os.getenv('DJANGO_DEBUG', False) in TRUE_VALUES LOGGING_LEVEL = os.getenv('LOGGING_LEVEL', 'INFO') -AZURE_APPLICATION_INSIGHTS_CONNECTION_STRING = os.getenv('AZURE_APPLICATION_INSIGHTS_CONNECTION_STRING', None) +AZURE_APPLICATION_INSIGHTS_CONNECTION_STRING = os.getenv('APPLICATION_INSIGHTS_CONNECTION_STRING', None) ALLOWED_HOSTS = os.getenv('ALLOWED_HOSTS', '127.0.0.1,0.0.0.0,localhost').split(',')