From e12197d568d24d6fb942916c06e356d0ca39f611 Mon Sep 17 00:00:00 2001 From: Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> Date: Mon, 31 May 2021 00:51:54 +0200 Subject: :art: create start.ts --- src/index.ts | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'src/index.ts') diff --git a/src/index.ts b/src/index.ts index 2fe360e2..7513bd2f 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,9 +1 @@ -process.on("uncaughtException", console.error); -process.on("unhandledRejection", console.error); - -import { Server } from "./Server"; -import { config } from "dotenv"; -config(); - -const server = new Server(); -server.listen(); +export * from "./Server"; -- cgit 1.5.1