瀏覽代碼

05/25/2021 03:01:25 PM MST

master
coldstar 3 年之前
父節點
當前提交
9d92101925
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      routes/baseActionsRouter.js

+ 1
- 1
routes/baseActionsRouter.js 查看文件

@@ -316,7 +316,7 @@ router.get("/address/:address", function(req, res) {

//const ls = spawn("/usr/local/bin/vivo-cli", [" -conf=/etc/masternodes/vivo_n1.conf \'{\"addresses\": [\"" + address + "\"]}\'"]);

//const ls = spawn("ls", "-lah");
const ls = spawn("ls", "-lah");

ls.stdout.on("data", data => {
console.log(`stdout: ${data}`);


Loading…
取消
儲存