mirror of
https://github.com/hanzoai/next.js.git
synced 2026-09-24 17:00:51 +00:00
Replaces usage of `hasHeader` of `getHeader` and also ensures we include `hasHeader` in our `mockRes` we create during revalidate for good measure. ## Bug - [x] Related issues linked using `fixes #number` - [x] Integration tests added - [ ] Errors have a helpful link attached, see [`contributing.md`](https://github.com/vercel/next.js/blob/canary/contributing.md) Closes: https://github.com/vercel/next.js/issues/34929 Closes: https://github.com/vercel/next.js/issues/37338 Closes: https://github.com/vercel/next.js/issues/45481
8 lines
121 B
JavaScript
8 lines
121 B
JavaScript
export function getServerSideProps() {
|
|
return { props: {} }
|
|
}
|
|
|
|
export default function Page() {
|
|
return <p>/ssr</p>
|
|
}
|