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:
@@ -427,7 +427,7 @@ def setSiteConf():
|
||||
mw.writeFile(conf, json.dumps(content))
|
||||
conf_lua = getServerDir() + "/lua/webstats_config.lua"
|
||||
listToLuaFile(conf_lua, content)
|
||||
mw.restartWeb()
|
||||
mw.opWeb('restart')
|
||||
return mw.returnJson(True, '设置成功')
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user