When using on-demand revalidation with dynamicParams=false
and generateStaticParams
in the route, the route starts to serve 404 page
- Build and start the app with
npm run build && npm run start
. - Open http://localhost:3000/should-work in the browser.
- Click either of the Revalidation buttons.
The page is revalidated, and the new data is shown.
404 page is shown after reloading.