1
0
mirror of https://github.com/spacebarchat/server.git synced 2024-11-11 13:14:06 +01:00
server/dist/util/Database.js
2021-02-08 15:39:46 +01:00

10 lines
386 B
JavaScript

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const lambert_db_1 = require("lambert-db");
// TODO: load url from config
const db = new lambert_db_1.MongoDatabase("mongodb://127.0.0.1:27017/lambert?readPreference=secondaryPreferred", {
useNewUrlParser: true,
useUnifiedTopology: false,
});
exports.default = db;
//# sourceMappingURL=Database.js.map