i18next / next-app-dir-i18next-example-ts

Next.js 13/14 app directory feature in combination with i18next
https://locize.com/blog/next-app-dir-i18n/
117 stars 29 forks source link

Content inside public folder is not accessible #9

Closed janoschp closed 4 months ago

janoschp commented 4 months ago

I reproduced this in your project, checked it out, ran it and tried to access localhost:3000/site.webmanifest , it re-directs to /en/site.webmanifest which is a 404 page.

adrai commented 4 months ago

adapt the middleware to your needs: https://github.com/i18next/next-app-dir-i18next-example-ts/blob/main/middleware.ts

adrai commented 4 months ago
image