mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-18 23:45:52 +08:00
Update index.py
This commit is contained in:
@@ -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)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user