respect port
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user