This repository has been archived on 2026-02-28. You can view files and clone it, but cannot push or open issues or pull requests.
2022-09-16 13:19:33 +10:00

13 lines
278 B
TypeScript

process.on("uncaughtException", console.error);
process.on("unhandledRejection", console.error);
import { config } from "dotenv";
import { Server } from "./Server";
config();
const port = Number(process.env.PORT) || 3004;
const server = new Server({
port
});
server.start();