summary refs log tree commit diff
path: root/bundle/src/start.ts
diff options
context:
space:
mode:
authorFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-10-04 21:57:24 +0200
committerFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-10-04 21:57:24 +0200
commite563aa25b43e55eb86e5119edb71b0ccf20102ff (patch)
tree13487ab459b896b10d9dba2a38d77445bc075836 /bundle/src/start.ts
parentMerge branch 'master' of https://github.com/fosscord/fosscord-server (diff)
downloadserver-e563aa25b43e55eb86e5119edb71b0ccf20102ff.tar.xz
:construction: different db engines
Diffstat (limited to 'bundle/src/start.ts')
-rw-r--r--bundle/src/start.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/bundle/src/start.ts b/bundle/src/start.ts
index f68a65bf..be67a122 100644
--- a/bundle/src/start.ts
+++ b/bundle/src/start.ts
@@ -2,6 +2,8 @@
 import cluster from "cluster";
 import os from "os";
 import { initStats } from "./stats";
+import { config } from "dotenv";
+config();
 
 // TODO: add tcp socket event transmission
 const cores = 1 || Number(process.env.threads) || os.cpus().length;