Commit 388801a5 authored by tywldx's avatar tywldx

f

parent a25e1c64
...@@ -202,9 +202,12 @@ admin.post('/remove_proxy', function (req, res) { ...@@ -202,9 +202,12 @@ admin.post('/remove_proxy', function (req, res) {
s = s.replace("\n","") s = s.replace("\n","")
execSync(`echo "${s}" > ../ngrok/docker_env_name.sh`) execSync(`echo "${s}" > ../ngrok/docker_env_name.sh`)
cproc.exec("../ngrok/make_frp_ini_V2.sh"); cproc.exec("../ngrok/make_frp_ini_V2.sh");
var last_str = String(execSync(`cat ../ngrok/docker_env_name.sh`))
res.setHeader("Content-Type","application/json"); res.setHeader("Content-Type","application/json");
res.send({ res.send({
"details": {}, "details": {
name_spaces:last_str
},
"success": true "success": true
}); });
}); });
......
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