We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Node.js v20.9.0, Nuxt 3.8.2, Nitro 2.8.1
npx nuxi build --preset=iis_node
The generated file index.js in the .output directory has a syntax error caused by a missing backslash (escape character) on this line:
if (process.env.PORT.startsWith('\')) {
This comes from src/presets/iis.ts, line 33 which should be changed to
if (process.env.PORT.startsWith('\\\\')) {
No response
The text was updated successfully, but these errors were encountered:
Was fixed via #2020
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Environment
Node.js v20.9.0, Nuxt 3.8.2, Nitro 2.8.1
Reproduction
npx nuxi build --preset=iis_node
Describe the bug
The generated file index.js in the .output directory has a syntax error caused by a missing backslash (escape character) on this line:
if (process.env.PORT.startsWith('\')) {
This comes from src/presets/iis.ts, line 33 which should be changed to
if (process.env.PORT.startsWith('\\\\')) {
Additional context
No response
Logs
No response
The text was updated successfully, but these errors were encountered: