aralroca/next-translate

404 on root when using baseURL in vercel

Opened this issue · 1 comments

What version of this package are you using?
next: 13.5.6
next-translate: 2.6.2
next-translate-plugin: 2.6.2

What operating system, Node.js, and npm version?
node -v 18.18.2

What happened?

On the root path (which is the base path) it has a 404,
if you add /something on top of base path it will work.

image

What did you expect to happen?

It not to be a 404.

Are you willing to submit a pull request to fix this bug?

If i knew what the issue was


Works if there is a trailingSlash: true in the config

Can you tried in 3.0.0-canary.2 version? (both, next-translate & next-translate-plugin). Thanks