Skip to content

Commit

Permalink
Revert "Remove change that does not affect typing"
Browse files Browse the repository at this point in the history
This reverts commit 97d9288.
  • Loading branch information
timneutkens committed Jan 26, 2021
1 parent 97d9288 commit d13ca03
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/next/next-server/server/render.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -796,7 +796,9 @@ export async function renderToHTML(

try {
data = await getServerSideProps({
req,
req: req as IncomingMessage & {
cookies: { [key: string]: string }
},
res,
query,
resolvedUrl: renderOpts.resolvedUrl as string,
Expand Down

0 comments on commit d13ca03

Please sign in to comment.