mirror of
https://github.com/spacebarchat/server.git
synced 2026-12-01 01:08:04 +00:00
Database
This commit is contained in:
1 parent
d4a89cae8a
commit
aa8710c337
1 file changed
+6
@@ -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;
|
||||
Reference in new issue
Block a user