Skip to content

Commit

Permalink
[docs] rename render to resolve in migration guide
Browse files Browse the repository at this point in the history
Resolves #2233
  • Loading branch information
ignatiusmb authored Aug 18, 2021
1 parent dee3e57 commit 9080b2a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions documentation/migrating/99-integrations.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ const minification_options = {
sortClassName: true
};

export async function handle({ request, render }) {
const response = await render(request);
export async function handle({ request, resolve }) {
const response = await resolve(request);

if (prerendering && response.headers['content-type'] === 'text/html') {
response.body = minify(response.body, minification_options);
Expand Down

0 comments on commit 9080b2a

Please sign in to comment.