Skip to content

Commit

Permalink
Fix port env in standalone mode (#5111)
Browse files Browse the repository at this point in the history
  • Loading branch information
Rishi Raj Jain authored Oct 18, 2022
1 parent 24ccbe0 commit 4ac3e2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/adapters/node/src/standalone.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export function getResolvedHostForHttpServer(host: string | boolean) {
}

export default function startServer(app: NodeApp, options: Options) {
const port = process.env.PORT ? Number(process.env.port) : options.port ?? 8080;
const port = process.env.PORT ? Number(process.env.PORT) : options.port ?? 8080;
const { client } = resolvePaths(options);
const handler = middleware(app);

Expand Down

0 comments on commit 4ac3e2e

Please sign in to comment.