hozana / next-translate-routes

Flexible and translated routes for Next.js without custom server
MIT License
115 stars 30 forks source link

Existing routes not updating when _routes.json updates #25

Closed MichaelThomas0721 closed 2 years ago

MichaelThomas0721 commented 2 years ago

After updating previously existing routes in the _routes.json file and changing languages, it will still redirect to the old route and will give a 404. I was able to recreate with the example project, I downloaded it and ran it, then changed the french redirect from "blog" to "blo" and re-ran the project, I was still redirected to "blog" when switching languages. If there is something I have to do after updating the file let me know.

MichaelThomas0721 commented 2 years ago

Deleting the contents of the .next folder updates the file, ignore my noise.