This commit is contained in:
Flam3rboy 2021-02-05 15:19:37 +01:00
parent d4a89cae8a
commit aa8710c337

6
src/Database.ts Normal file
View File

@ -0,0 +1,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;