8000 Most of `preview` and `deploy` commands are incorrect when using `serverDir` and `publicDir` · Issue #3387 · nitrojs/nitro · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Most of preview and deploy commands are incorrect when using serverDir and publicDir #3387

New issue

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

Open
alan-agius4 opened this issue Jun 3, 2025 · 0 comments

Comments

@alan-agius4
Copy link
alan-agius4 commented Jun 3, 2025

Environment

Node: 20.19.1
Nitropack: 2.11.12

Reproduction

This is simple to reproduce just configure a different publicDir/serverDir

Describe the bug

In the majority of cases the deploy and preview commands have hard coded /public and /server this causes the command printed to be invalid when these paths have been changed using the output.serverDir and output.publicDir options.

Additional context

No response

Logs

@alan-agius4 alan-agius4 changed the title Most of preview and deploy are incorrect when using serverDir and publicDir Most of preview and deploy commands are incorrect when using serverDir and publicDir Jun 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant
0