rsnext/packages/next/next-server
JJ Kasper 854a84937c
Fix a couple i18n cases (#17805)
While working on https://github.com/vercel/next.js/pull/17755 noticed a couple of cases that needed fixing and broke them out to this PR to make that one easier to review. One fix is for `ssgCacheKey` where it wasn't having the `locale` prefix stripped correctly due to the locales no longer being populated under the server instances `renderOpts` and the second fix is for the `asPath` not being set to `/` when the `locale` is the only part in the URL e.g. `/en` became an empty string `""`

x-ref: https://github.com/vercel/next.js/pull/17370
2020-10-12 10:05:47 +00:00
..
lib Make sure locale detecting is case-insensitive (#17757) 2020-10-11 20:40:47 +00:00
server Fix a couple i18n cases (#17805) 2020-10-12 10:05:47 +00:00