Skip to content

Latest commit

 

History

History
37 lines (27 loc) · 1.22 KB

README.md

File metadata and controls

37 lines (27 loc) · 1.22 KB

Bug reproduction

This reproduction is based on Next i18n-routing official example. A redirection is added in getStaticProps to a different locale, which creates a bug.

It seems that the inter-locale redirections are not supported in the getStaticProps/getServerSideProps: the same api for redirects than in next.config.js with locale: false would be needed.

Reproduction steps

  • yarn install
  • yarn build
  • yarn start

getStaticProps

getServerSideProps