Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion next.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,16 @@ const nextConfig = {
{
source: '/ipa/:path*',
destination: '/api/:path*',
permanent: true
permanent: true,
// Client-side navigations fetch page props from
// /_next/data/<buildId>/ipa/... — redirecting those requests
// strips pageProps (title, sections), so skip data requests.
missing: [
{
type: 'header',
key: 'x-nextjs-data',
},
],
},
// documentation redirects for about
{
Expand Down
Loading