respect PORT

This commit is contained in:
Chris Wanstrath 2025-12-21 15:48:07 -08:00
parent 88eab4ece2
commit 8ecdd39be7

View File

@ -160,6 +160,7 @@ export class Hype<
this.registerRoutes() this.registerRoutes()
return { return {
port: process.env.PORT ?? '3000',
fetch: this.fetch, fetch: this.fetch,
idleTimeout: 255 idleTimeout: 255
} }