Update index.py

This commit is contained in:
dami
2026-07-21 11:43:14 +08:00
parent c3ad146303
commit 4ab3409e54
+1 -1
View File
@@ -109,7 +109,7 @@ def initDreplace():
caddy_file = getConf() caddy_file = getConf()
if not os.path.exists(caddy_file): if not os.path.exists(caddy_file):
caddy_file_tpl = getConfTpl() caddy_file_tpl = getConfTpl()
content = mw.readFile(systemServiceTpl) content = mw.readFile(caddy_file_tpl)
content = content.replace('{$SERVER_PATH}', service_path) content = content.replace('{$SERVER_PATH}', service_path)
mw.writeFile(caddy_file, content) mw.writeFile(caddy_file, content)