summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-02-16 13:30:54 +0100
committerFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-02-16 13:30:54 +0100
commit6030b861219b9f9a63a490b6dfa2da25791e70ef (patch)
tree8d695412443bdbc639461a5070f4ffb0ae7aad65 /src
parent:bug: fix permission dispatch (diff)
downloadserver-6030b861219b9f9a63a490b6dfa2da25791e70ef.tar.xz
:sparkles: load .env file
Diffstat (limited to 'src')
-rw-r--r--src/index.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/index.ts b/src/index.ts

index b267bbfb..e34ae0d3 100644 --- a/src/index.ts +++ b/src/index.ts
@@ -3,6 +3,8 @@ process.on("unhandledRejection", console.error); setTimeout(() => {}, 100000000); import { Server } from "./Server"; +import { config } from "dotenv"; +config(); const server = new Server(); server.listen();