Pi66

merodi
A markdown-based static site generator.
git clone https://git.pi66.xyz/merodi

← back to log

refactor: update config loader calls to match new signature

author: pi66
date: 2026-07-03 19:44
hash: 1b7749968be8c946f123b996e41fd1d47ea5477d

Diffstat:

M

src/webviewer.py
6 +++++++++++++++---------------
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
diff --git a/src/webviewer.py b/src/webviewer.py
index 9d24ad8..276587a 100644
--- a/src/webviewer.py
+++ b/src/webviewer.py
@@ -91,11 +91,11 @@ def run(project_path):
         global _ip_cache
         project_path = project_path if project_path else getcwd()
         find_project_from_path(project_path)
-        webview_config = load_webview_config(project_path)
+        webview_config = load_webview_config()
         host = webview_config.host
         port = webview_config.port
-        tree_config    = load_tree_config(project_path)
-        extras_config = load_extras_config(project_path)
+        tree_config    = load_tree_config()
+        extras_config = load_extras_config()
         routes = {
             "url_path" : {
                 "html":   webview_config.html_path,