From 6030b861219b9f9a63a490b6dfa2da25791e70ef Mon Sep 17 00:00:00 2001 From: Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> Date: Tue, 16 Feb 2021 13:30:54 +0100 Subject: :sparkles: load .env file --- src/index.ts | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/index.ts') 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(); -- cgit 1.5.1