diff --git a/src/presets/node/runtime/node-server.ts b/src/presets/node/runtime/node-server.ts index a8737bda74..e0d48160c2 100644 --- a/src/presets/node/runtime/node-server.ts +++ b/src/presets/node/runtime/node-server.ts @@ -29,7 +29,7 @@ const host = process.env.NITRO_HOST || process.env.HOST; const path = process.env.NITRO_UNIX_SOCKET; // @ts-ignore -const listener = server.listen(path ? { path } : { port, host }, (err) => { +const listener = server.listen(path ? path : { port, host }, (err) => { if (err) { console.error(err); // eslint-disable-next-line unicorn/no-process-exit