node standalone server does not serve assets (unless you run astro preview
)
#5093
Closed
1 task done
Labels
- P5: urgent
Fix build-breaking bugs affecting most users, should be released ASAP (priority)
What version of
astro
are you using?1.5.0
Are you using an SSR adapter? If so, which one?
@astrojs/node
What package manager are you using?
pnpm
What operating system are you using?
Mac
Describe the Bug
The docs say you can run the node server directly when using
standalone
mode like so:However, doing so will only start the base server without serving any static assets.
Interestingly,
astro preview
will start this same server with static asset serving, though this nuance isn't documented. Curious if this is a bug or just a documentation issue?Link to Minimal Reproducible Example
https://stackblitz.com/edit/github-hvcn2g
Participation
The text was updated successfully, but these errors were encountered: