Commit 1e6a988e authored by tywldx's avatar tywldx

d

parent 139d849c
...@@ -109,6 +109,7 @@ admin.post('/add_new_proxy', function (req, res) { ...@@ -109,6 +109,7 @@ admin.post('/add_new_proxy', function (req, res) {
//文件添加到这里面 //文件添加到这里面
} }
newstr = newstr.replace(/\n/,""); newstr = newstr.replace(/\n/,"");
console.log(newstr)
execSync(`echo "${newstr}" > ../ngrok/docker_env_name.sh`) execSync(`echo "${newstr}" > ../ngrok/docker_env_name.sh`)
cproc.exec("../ngrok/make_frp_ini_V2.sh"); cproc.exec("../ngrok/make_frp_ini_V2.sh");
res.send({msg:"执行完成"}); res.send({msg:"执行完成"});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment