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:
parent
682573d262
commit
49927f0abc
4 changed files with 66 additions and 49 deletions
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; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue