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/start.ts | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 src/start.ts (limited to 'src/start.ts') diff --git a/src/start.ts b/src/start.ts new file mode 100644 index 00000000..2fe360e2 --- /dev/null +++ b/src/start.ts @@ -0,0 +1,9 @@ +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(); -- cgit 1.5.1