summary refs log tree commit diff
path: root/src/webrtc/start.ts
blob: 57361909011ff996a3dfda9a7bc997e4fd23780b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
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();