summary refs log tree commit diff
path: root/dist/util/Database.js
diff options
context:
space:
mode:
authorFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-02-05 22:01:01 +0100
committerFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-02-05 22:01:01 +0100
commitea41892fef208b10c1bb322de7683c39ebab3dd5 (patch)
treef26559c73196591ac0338a21908a25c806276a7a /dist/util/Database.js
parentMove Models/Schemas to server-util (diff)
downloadserver-ea41892fef208b10c1bb322de7683c39ebab3dd5.tar.xz
:wrench: build
Diffstat (limited to 'dist/util/Database.js')
-rw-r--r--dist/util/Database.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/dist/util/Database.js b/dist/util/Database.js
new file mode 100644

index 00000000..9fe58f0a --- /dev/null +++ b/dist/util/Database.js
@@ -0,0 +1,7 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +const lambert_db_1 = require("lambert-db"); +// TODO: load url from config +const db = new lambert_db_1.MongoDatabase("mongodb://127.0.0.1:27017/lambert?readPreference=secondaryPreferred"); +exports.default = db; +//# sourceMappingURL=Database.js.map \ No newline at end of file