From 4ab3409e544f6f027455eddbbec192f9cb60721d Mon Sep 17 00:00:00 2001 From: dami Date: Tue, 21 Jul 2026 11:43:14 +0800 Subject: [PATCH] Update index.py --- plugins/caddy/index.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/caddy/index.py b/plugins/caddy/index.py index 3afeb540e..4f21d8339 100755 --- a/plugins/caddy/index.py +++ b/plugins/caddy/index.py @@ -109,7 +109,7 @@ def initDreplace(): caddy_file = getConf() if not os.path.exists(caddy_file): caddy_file_tpl = getConfTpl() - content = mw.readFile(systemServiceTpl) + content = mw.readFile(caddy_file_tpl) content = content.replace('{$SERVER_PATH}', service_path) mw.writeFile(caddy_file, content)