change default path to relative

This commit is contained in:
binary-husky
2023-10-21 00:27:55 +08:00
parent ff2bc64d57
commit 991e41b313
2 changed files with 6 additions and 5 deletions

View File

@@ -431,7 +431,7 @@ def main():
ssl_certfile=None if SSL_CERTFILE == "" else SSL_CERTFILE,
ssl_verify=False,
server_port=PORT,
favicon_path="docs/logo.png",
favicon_path=os.path.join(os.path.dirname(__file__), "docs/logo.png"),
auth=AUTHENTICATION if len(AUTHENTICATION) != 0 else None,
blocked_paths=["config.py","config_private.py","docker-compose.yml","Dockerfile"])