summary refs log tree commit diff
path: root/src/util/Database.ts
blob: d842ac6b28c560d59e3c304f7fd47b25af17bb33 (plain) (blame)
1
2
3
4
5
6
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;