Skip to content
This repository was archived by the owner on Oct 24, 2023. It is now read-only.

Commit 22e17d6

Browse files
committed
fix exception when getting project settings from theme items with relative URLs
1 parent 92e5406 commit 22e17d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

themes_config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ def getTheme(config, permissions, configItem, result, resultItem, project_settin
279279
return
280280

281281
cache = os.environ.get("__QWC_CONFIG_SERVICE_PROJECT_SETTINGS_CACHE", "0") == "1"
282-
ows_url = configItem["url"]
282+
ows_url = urljoin(baseUrl, configItem["url"])
283283

284284
if cache and \
285285
ows_url in project_settings_cache and \

0 commit comments

Comments
 (0)