Browse Source

nginx

master
zeus 4 years ago
parent
commit
78593ebac2
  1. 6
      swarmlab-app/src/run/app.js

6
swarmlab-app/src/run/app.js

@ -431,7 +431,11 @@ function onCollection(err, collection) {
var reslog = new Object(); var reslog = new Object();
var now = new Date(); var now = new Date();
cursor.on('data', function (data) { cursor.on('data', function (data) {
var issend = getSHA256ofJSON(data) var issendob = {};
issendob.message = data.message
issendob.tailed_path = data.tailed_path
var issend = getSHA256ofJSON(issend)
//io.in('anagnostopoulos@uniwa.gr').emit("logdata", data); //io.in('anagnostopoulos@uniwa.gr').emit("logdata", data);
console.log('++++++++' + JSON.stringify(data)); console.log('++++++++' + JSON.stringify(data));

Loading…
Cancel
Save