1
0
Fork 0
mirror of https://github.com/Ylianst/MeshCentral.git synced 2025-03-09 15:40:18 +00:00

Improved dependency management, main web port now uses TLS 1.2 only.

This commit is contained in:
Ylian Saint-Hilaire 2018-01-31 16:10:15 -08:00
parent 682573d262
commit 49927f0abc
4 changed files with 66 additions and 49 deletions

2
db.js
View file

@ -25,7 +25,7 @@ module.exports.CreateDB = function (args, datapath) {
if (args.mongodb) {
// Use MongoDB
obj.databaseType = 2;
var Datastore = require("mongojs");
var Datastore = require('mongojs');
var db = Datastore(args.mongodb);
var dbcollection = 'meshcentral';
if (args.mongodbcol) { dbcollection = args.mongodbcol; }