summaryrefslogtreecommitdiff
path: root/packages/integrations/node/src
diff options
context:
space:
mode:
authorGravatar renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> 2024-09-18 11:45:09 +0800
committerGravatar GitHub <noreply@github.com> 2024-09-18 11:45:09 +0800
commit26c916a778604a1441ae4cf557ce7af4a783b707 (patch)
tree5b2f23bba822721e774ef6ef893b5a065a41c041 /packages/integrations/node/src
parent31c7767ee899ddc7ef8ef963263cbf3a8faf8901 (diff)
downloadastro-26c916a778604a1441ae4cf557ce7af4a783b707.tar.gz
astro-26c916a778604a1441ae4cf557ce7af4a783b707.tar.zst
astro-26c916a778604a1441ae4cf557ce7af4a783b707.zip
chore(deps): update all non-major dependencies (#393)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: bluwy <bjornlu.dev@gmail.com>
Diffstat (limited to 'packages/integrations/node/src')
-rw-r--r--packages/integrations/node/src/standalone.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/integrations/node/src/standalone.ts b/packages/integrations/node/src/standalone.ts
index 8ae10a9ba..c7c8033ed 100644
--- a/packages/integrations/node/src/standalone.ts
+++ b/packages/integrations/node/src/standalone.ts
@@ -18,7 +18,7 @@ export const hostOptions = (host: Options['host']): string => {
};
export default function standalone(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 host = process.env.HOST ?? hostOptions(options.host);
const handler = createStandaloneHandler(app, options);
const server = createServer(handler, host, port);