![next.js13 - Why does my next.js(13.4.19) never throw a 404 page when using generateStaticParams to create a set of dynamic routes? - Stack Overflow next.js13 - Why does my next.js(13.4.19) never throw a 404 page when using generateStaticParams to create a set of dynamic routes? - Stack Overflow](https://i.stack.imgur.com/ZHB7G.png)
next.js13 - Why does my next.js(13.4.19) never throw a 404 page when using generateStaticParams to create a set of dynamic routes? - Stack Overflow
![When I export my next.js app as a static build, my dynamic routes fail. Is there a way to alter my code so they work in a static site? : r/nextjs When I export my next.js app as a static build, my dynamic routes fail. Is there a way to alter my code so they work in a static site? : r/nextjs](https://preview.redd.it/when-i-export-my-app-as-a-static-build-my-dynamic-routes-v0-3692mx1l8f3a1.png?width=2614&format=png&auto=webp&s=a3753dd7929b9e0211b6348c57223b114fe509cc)
When I export my next.js app as a static build, my dynamic routes fail. Is there a way to alter my code so they work in a static site? : r/nextjs
![javascript - Next js dynamic routes work as expected in development but returns 404 page in production - Stack Overflow javascript - Next js dynamic routes work as expected in development but returns 404 page in production - Stack Overflow](https://i.stack.imgur.com/vuYaa.png)