From 0af40259898855017e3bdf64eaae8f3334fca1cc Mon Sep 17 00:00:00 2001 From: Drikus Roor Date: Tue, 21 May 2024 22:43:08 +0200 Subject: [PATCH] refactor: Fallback to "http://localhost:8000" even when Docker sets BASE_URL as an empty string --- backend/aml/development_settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/aml/development_settings.py b/backend/aml/development_settings.py index d812f965e..5979f1a33 100644 --- a/backend/aml/development_settings.py +++ b/backend/aml/development_settings.py @@ -28,4 +28,4 @@ TESTING = DEBUG -BASE_URL = os.getenv('BASE_URL', 'http://localhost:8000') +BASE_URL = os.getenv('BASE_URL') or 'http://localhost:8000'