diff --git a/src/index.ts b/src/index.ts index 9a64b73..6499746 100644 --- a/src/index.ts +++ b/src/index.ts @@ -4,7 +4,7 @@ import { indexedConfig } from "./config"; import { deploy } from "./deploy"; import { PushEvent } from "./giteaTypes"; -const port = 6001; +const port = process.env.PORT ?? 6001; new Elysia() .onError(({ error }) => console.error(error))