This repository was archived by the owner on Jan 28, 2025. It is now read-only.
This repository was archived by the owner on Jan 28, 2025. It is now read-only.
Next.js 10 localization in pathname #721
Closed
Description
The new built-in localization in Next.js 10 allows to have the locale as a path prefix, e.g.:
/about
/de/about
/es/about
All three routes will open pages/about.tsx
. This works fine when I run it locally.
When I deploy it using serverless-next.js, it gives a 404 for /de/about
and /es/about
. Just /about
still works.
Is this something that the Serverless Next.js Component doesn't support yet, or am I doing something wrong?
Thanks!