Skip to content

Commit

Permalink
fix: ssr method expects rawBody instead of body
Browse files Browse the repository at this point in the history
  • Loading branch information
ivoreis committed Apr 20, 2021
1 parent 7f0004f commit 349a1bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/adapter-vercel/files/entry.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export default async (req, res) => {
headers: req.headers,
path: pathname,
query: searchParams,
body: await getRawBody(req)
rawBody: await getRawBody(req)
});

if (rendered) {
Expand Down

0 comments on commit 349a1bf

Please sign in to comment.