Environment
- Nuxt: ^4.1.2
- Nitro: 2.12.6
- Node.js: 22.x (Vercel)
- Package manager and version: [email protected]
- Deployment target: Vercel
Reproduction
- Add route rules to
nuxt.config.ts
routeRules: {
'/schedule': {
isr: 60 * 5,
}
},
-
Deploy on Vercel (vercel preset + fluid computed enabled)
-
Navigate to:
previewurl.com/schedule -> doesn't work 🚨
previewurl.com/schedule/ -> does work
- client side navigation to
/schedule -> does work
Describe the bug
- I'm using Nuxt route rules to enable ISR for the
/schedule route.
- Client-side navigation (clicking a link to
/schedule) works: first hit generates the page, subsequent hits are served from cache as expected.
- Direct navigation (typing the URL in the browser or hard-refresh) fails: the server redirects to
/schedule-isr, which returns 404.
Additional context
This Reddit user seems to be facing the same issue: https://www.reddit.com/r/Nuxt/comments/1nik9nz/comment/ng61w70/?context=1
Logs
Environment
Reproduction
nuxt.config.tsDeploy on Vercel (
vercelpreset + fluid computed enabled)Navigate to:
previewurl.com/schedule-> doesn't work 🚨previewurl.com/schedule/-> does work/schedule-> does workDescribe the bug
/scheduleroute./schedule) works: first hit generates the page, subsequent hits are served from cache as expected./schedule-isr, which returns 404.Additional context
This Reddit user seems to be facing the same issue: https://www.reddit.com/r/Nuxt/comments/1nik9nz/comment/ng61w70/?context=1
Logs