|
@ -6,8 +6,7 @@ var http = require('http').Server(app); |
|
|
var https = require('https'); |
|
|
var https = require('https'); |
|
|
var io = require('socket.io')(http); |
|
|
var io = require('socket.io')(http); |
|
|
|
|
|
|
|
|
var mongodb = require('mongodb'); |
|
|
const MongoClient = require('mongodb').MongoClient; |
|
|
MongoClient = mongodb.MongoClient; |
|
|
|
|
|
|
|
|
|
|
|
//var chokidar = require("chokidar");
|
|
|
//var chokidar = require("chokidar");
|
|
|
//var logpath = "/var/lab/playground-serverlogs";
|
|
|
//var logpath = "/var/lab/playground-serverlogs";
|
|
|