respect port

This commit is contained in:
2025-11-29 17:37:39 -05:00
parent f3199ac495
commit dbb9fbd7b0

View File

@@ -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))