mirror of
https://github.com/spacebarchat/server.git
synced 2024-11-11 13:14:06 +01:00
10 lines
386 B
JavaScript
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
|