1
0
mirror of https://github.com/spacebarchat/server.git synced 2024-11-11 13:14:06 +01:00
server/src/Database.ts

7 lines
196 B
TypeScript
Raw Normal View History

2021-02-05 15:19:37 +01:00
import { MongoDatabase } from "lambert-db";
// TODO: load url from config
const db = new MongoDatabase("mongodb://127.0.0.1:27017/lambert?readPreference=secondaryPreferred");
export default db;