Skip to content

Commit

Permalink
Switch app.render signature (#9199)
Browse files Browse the repository at this point in the history
* feat(app): app.render optional object

* tests

* update vercel and node

* update changeset

* deprecation notice and loggin

* clarify changeset

* add node, vercel changeset

* deduplicate code
  • Loading branch information
lilnasy authored Nov 29, 2023
1 parent 880db8e commit 7a4c917
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/integrations/vercel/src/serverless/entrypoint.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export const createExports = (manifest: SSRManifest) => {
locals = JSON.parse(localsAsString);
}
}
await setResponse(app, res, await app.render(request, routeData, locals));
await setResponse(app, res, await app.render(request, { routeData, locals }));
};

return { default: handler };
Expand Down

0 comments on commit 7a4c917

Please sign in to comment.