From 001294225c6651ee0922a026ee562a6c8d513e3b Mon Sep 17 00:00:00 2001 From: David Trattnig <david.trattnig@o94.at> Date: Mon, 2 Mar 2020 16:41:11 +0100 Subject: [PATCH] Configuration for API URL prefix. --- libraries/base/config.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libraries/base/config.py b/libraries/base/config.py index afb6f061..310bf44d 100644 --- a/libraries/base/config.py +++ b/libraries/base/config.py @@ -137,9 +137,10 @@ class AuraConfig: v = config_parser.get(section, key).replace('"', '').strip() self.set(key, v) - # Custom overrides + # Custom overrides and defaults self.set("install_dir", os.path.realpath(__file__ + "../../../..")) self.set("use_test_data", False) + self.set("api_prefix", "/api/v1") -- GitLab