diff options
author | Thomas Schmid <schmid-thomas@gmx.net> | 2022-04-25 01:29:59 +0300 |
---|---|---|
committer | Thomas Schmid <schmid-thomas@gmx.net> | 2022-04-25 01:29:59 +0300 |
commit | 20c2b6e501d672f95ce06ba02d4d7fd46602b2af (patch) | |
tree | 05ad5be027356f64fe259a52779f0acf0758f643 | |
parent | 2e2abe029b838c41148c3299da82de8e2338f5c5 (diff) |
Fix default http root location in webapp
-rw-r--r-- | src/web/script/config/config.py | 2 |
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): """ |