Update index.py

This commit is contained in:
dami
2025-12-05 04:11:16 +08:00
parent 0eeae3a7ff
commit d091fc48f6
+5
View File
@@ -206,6 +206,11 @@ def confReplace():
if not os.path.exists(a_conf):
mw.writeFile(a_conf, mw.readFile(a_conf_tpl))
# copy resty lib
src_resty_dir = getPluginDir()+'/resty'
dst_resty_dir = getServerDir()+'/lualib/resty'
mw.execShell('cp -rf ' src_resty_dir + '' + dst_resty_dir)
def initDreplace():