From 636f51dfd2ee16beb57cd2bd1c8b6325dcd73890 Mon Sep 17 00:00:00 2001 From: Frederick Yin Date: Wed, 24 Nov 2021 21:19:37 +0800 Subject: JForm URLs are not subpaths of jimbrella_dir --- jimbrella/config.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jimbrella/config.py b/jimbrella/config.py index 48265e9..e0963f5 100644 --- a/jimbrella/config.py +++ b/jimbrella/config.py @@ -18,8 +18,8 @@ FLASK_SECRET_KEY = config["flask"]["secret_key"] ACCEPT_NEW_USERS = config["user"]["accept_new_users"] -JFORM_TAKEAWAY_URL = JIMBRELLA_DIR / Path(config["jform"]["takeaway_url"]) -JFORM_GIVEBACK_URL = JIMBRELLA_DIR / Path(config["jform"]["giveback_url"]) +JFORM_TAKEAWAY_URL = config["jform"]["takeaway_url"] +JFORM_GIVEBACK_URL = config["jform"]["giveback_url"] JFORM_BOOKMARK_DIR = JIMBRELLA_DIR / Path(config["jform"]["bookmark_dir"]) DATABASE_PATH = JIMBRELLA_DIR / Path(config["db"]["db_path"]) -- cgit v1.2.3