From 5e61094a3247c30c447838469c59853b082da506 Mon Sep 17 00:00:00 2001 From: rojin254 Date: Thu, 28 Sep 2023 17:34:37 +0530 Subject: [PATCH] changed path strings to have trailing "/" --- core/cat/looking_glass/cheshire_cat.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/cat/looking_glass/cheshire_cat.py b/core/cat/looking_glass/cheshire_cat.py index b05936d3..c2ab3a79 100644 --- a/core/cat/looking_glass/cheshire_cat.py +++ b/core/cat/looking_glass/cheshire_cat.py @@ -375,7 +375,7 @@ def get_base_url(self): secure = os.getenv('CORE_USE_SECURE_PROTOCOLS', '') if secure != '': secure = 's' - return f'http{secure}://{os.environ["CORE_HOST"]}:{os.environ["CORE_PORT"]}' + return f'http{secure}://{os.environ["CORE_HOST"]}:{os.environ["CORE_PORT"]}/' def get_base_path(self): """Allows the Cat expose the base path.""" @@ -387,7 +387,7 @@ def get_plugin_path(self): def get_static_url(self): """Allows the Cat expose the static server url.""" - return self.get_base_url() + "/static" + return self.get_base_url() + "static/" def get_static_path(self): """Allows the Cat expose the static files path."""