Guidance on SPA mode with `preset:'node-server'` rewrites (like for Netlify)
Hi! I'm wondering if there's a proper way to configure the 404 -> _shell redirect when building with the node-server preset. The use case would be to mimic the production setup locally (cdn with server for functions)
2 Replies
optimistic-gold•3mo ago
so you want to test the production build instead of just running the dev server?
absent-sapphireOP•3mo ago
yep
i tried a few things mostly around tweaking a
nitro.config.ts and thought maybe i'd missed something