From 363ae87bdf1fe4e1949e8b87cd5f8e8625d7b3e6 Mon Sep 17 00:00:00 2001 From: zeus Date: Tue, 24 Nov 2020 16:15:57 +0200 Subject: [PATCH] mongo tail --- swarmlab-app/src/run/app.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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";