Commit 3755765a authored by tywldx's avatar tywldx

fix

parent 7d6adb02
...@@ -63,7 +63,7 @@ admin.post('/add_new_proxy', function (req, res) { ...@@ -63,7 +63,7 @@ admin.post('/add_new_proxy', function (req, res) {
res.send({msg:"执行完成"}); res.send({msg:"执行完成"});
}); });
admin.get('/remove_proxy', function (req, res) { admin.post('/remove_proxy', function (req, res) {
var str = String(execSync(`cat ../ngrok/docker_env_name.sh`)).replace(/\n/,""); var str = String(execSync(`cat ../ngrok/docker_env_name.sh`)).replace(/\n/,"");
var sourcestr; var sourcestr;
var reg = new RegExp(request["namespace"] + "\\|\\d*\\.\\d*\\.\\d*\\.\\d*"); var reg = new RegExp(request["namespace"] + "\\|\\d*\\.\\d*\\.\\d*\\.\\d*");
......
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