fixed so symlink gets resolved

This commit is contained in:
2026-01-26 15:47:10 +01:00
committed by Florian Greistorfer
parent 4ef1b429f2
commit b109627bf9
5 changed files with 5 additions and 5 deletions

View File

@@ -24,7 +24,7 @@ if __package__ is None:
PACKAGE = ""
else:
PACKAGE = __package__
SCRIPTDIR = os.path.abspath(os.path.dirname(__file__).removesuffix(PACKAGE))
SCRIPTDIR = os.path.dirname(os.path.realpath(__file__).removesuffix(PACKAGE))
FAVICON_PATH = ".static/favicon.ico"
GLOBAL_CSS_PATH = ".static/global.css"
EXCLUDES = ["index.html", "manifest.json", "robots.txt"]