From e971ba1b62ce486275de85d5f8762561b28f261b Mon Sep 17 00:00:00 2001 From: Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> Date: Mon, 19 Apr 2021 22:00:48 +0200 Subject: :art: change default port to 1000 + CORS --- src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/index.ts') diff --git a/src/index.ts b/src/index.ts index 3a05cdfa..6a0fabc4 100644 --- a/src/index.ts +++ b/src/index.ts @@ -7,7 +7,7 @@ config(); import { DiscordServer } from "./Server"; var port = Number(process.env.PORT); -if (isNaN(port)) port = 3000; +if (isNaN(port)) port = 1000; const server = new DiscordServer({ port }); server.start().catch(console.error); -- cgit 1.5.1