mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-12-08 16:52:37 -05:00
Improved dependency management, main web port now uses TLS 1.2 only.
This commit is contained in:
2
db.js
2
db.js
@@ -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; }
|
||||
|
||||
Reference in New Issue
Block a user