next-translate icon indicating copy to clipboard operation
next-translate copied to clipboard

404 on root when using baseURL in vercel

Open kevupton opened this issue 7 months ago • 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

kevupton avatar Dec 20 '23 04:12 kevupton

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

aralroca avatar Jan 22 '24 15:01 aralroca