From 56810224ddb79d8a0aa8db75d19a05083e6819e5 Mon Sep 17 00:00:00 2001
From: Grollicus <cccvgitlab.db5c7b60@grollmann.eu>
Date: Tue, 28 Dec 2021 17:43:37 +0100
Subject: [PATCH] changed PLAINUI_BASE_URL to a default that doesn't crash when
 missing

---
 src/rc3platform/settings/base.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/rc3platform/settings/base.py b/src/rc3platform/settings/base.py
index 95a5b9be5..8fdfbf9ed 100644
--- a/src/rc3platform/settings/base.py
+++ b/src/rc3platform/settings/base.py
@@ -320,7 +320,7 @@ WORKADVENTURE_BACKEND_PUSH_ON_MAPSERVICE_DATA = True
 # ----------------------------------
 
 # base domain of the frontend (used to generate links in API and BackOffice, not in the plain UI itself)
-PLAINUI_BASE_URL = os.getenv('PLAINUI_BASE_URL', default=None)
+PLAINUI_BASE_URL = os.getenv('PLAINUI_BASE_URL', default='')
 
 # Database ID of the active conference for the PlainUI.
 # To initialize create a conference in the backend, then configure the conference, then restart the UI workers
-- 
GitLab