summary refs log tree commit diff
path: root/dist/Database.js
diff options
context:
space:
mode:
authorFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-02-05 16:14:17 +0100
committerFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-02-05 16:14:17 +0100
commit996878cbe3eefed32fbf87e172b98e43df355f19 (patch)
tree0db9abb57eb429c370c989fbd1d353dd41dc699b /dist/Database.js
parent:wrench: build (diff)
downloadserver-996878cbe3eefed32fbf87e172b98e43df355f19.tar.xz
:art: rename Database -> db
Diffstat (limited to 'dist/Database.js')
-rw-r--r--dist/Database.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/dist/Database.js b/dist/Database.js
new file mode 100644

index 00000000..9fe58f0a --- /dev/null +++ b/dist/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