diff --git a/swarmlab-app/src/run/app.js b/swarmlab-app/src/run/app.js index 366a756..cb40960 100755 --- a/swarmlab-app/src/run/app.js +++ b/swarmlab-app/src/run/app.js @@ -6,8 +6,7 @@ var http = require('http').Server(app); var https = require('https'); var io = require('socket.io')(http); -var mongodb = require('mongodb'); - MongoClient = mongodb.MongoClient; +const MongoClient = require('mongodb').MongoClient; //var chokidar = require("chokidar"); //var logpath = "/var/lab/playground-serverlogs";