diff --git a/swarmlab-app/src/run/app.js b/swarmlab-app/src/run/app.js index 0d99d89..2115253 100755 --- a/swarmlab-app/src/run/app.js +++ b/swarmlab-app/src/run/app.js @@ -326,12 +326,14 @@ if(RES.error == 'ok'){ console.log(JSON.stringify(doc)) //socket.write(JSON.stringify({'action': 'log','param': doc.log})); RES.error_msg = "ok" + RES.data = doc res.json(RES) }); } }); }else{ +RES.data = 'no' RES.error_msg = "tokeni err" res.json(RES)