mirror of
https://github.com/spacebarchat/server.git
synced 2026-05-11 19:04:51 +00:00
Database
This commit is contained in:
@@ -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