Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/thsmi/sieve.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Schmid <schmid-thomas@gmx.net>2022-04-25 01:29:59 +0300
committerThomas Schmid <schmid-thomas@gmx.net>2022-04-25 01:29:59 +0300
commit20c2b6e501d672f95ce06ba02d4d7fd46602b2af (patch)
tree05ad5be027356f64fe259a52779f0acf0758f643
parent2e2abe029b838c41148c3299da82de8e2338f5c5 (diff)
Fix default http root location in webapp
-rw-r--r--src/web/script/config/config.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/web/script/config/config.py b/src/web/script/config/config.py
index 49e1260b..a7cefba7 100644
--- a/src/web/script/config/config.py
+++ b/src/web/script/config/config.py
@@ -137,7 +137,7 @@ class Config:
if "HttpRoot" in self._config["DEFAULT"]:
return self._config["DEFAULT"]["HttpRoot"]
- return pathlib.Path(pathlib.Path(__file__).parent.absolute(), "static")
+ return pathlib.Path(pathlib.Path(__file__).parent.parent.parent.absolute(), "static")
def get_port(self):
"""