mirror of
https://github.com/hanzoai/next.js.git
synced 2026-10-30 14:46:38 +00:00
### What Render noindex into a flight data and rsc payload when page path is `/404` ### Why When it's static generation, noindex is not rendered due to the statusCode from mock request is 200, but we can relying on the pagePath as `/404` page should always contain `nonidex` We were missing the noindex before for flight generation, now we'll render it when it's 404 page.
4 lines
57 B
JavaScript
4 lines
57 B
JavaScript
export default function Page() {
|
|
return <h1>Foo</h1>
|
|
}
|