From 43e7846fd03587c142d723cdaf138e894e1a0cb1 Mon Sep 17 00:00:00 2001 From: iFargle Date: Sat, 11 Feb 2023 08:34:14 +0900 Subject: [PATCH] Sanitize BASE_PATH in server.py --- server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server.py b/server.py index 4f427f5..046e9cc 100644 --- a/server.py +++ b/server.py @@ -21,7 +21,7 @@ app.logger.setLevel(logging.DEBUG) # Colors: https://materializecss.com/color.html COLOR_NAV = "blue-grey darken-1" COLOR_BTN = "blue-grey darken-3" -BASE_PATH = os.environ["BASE_PATH"] +BASE_PATH = env(os.environ["BASE_PATH"]) APP_VERSION = os.environ["APP_VERSION"] GIT_COMMIT = os.environ["GIT_COMMIT"] GIT_BRANCH = os.environ["GIT_BRANCH"]