Skip to content

Commit

Permalink
Update packages/adapter-vercel/index.js
Browse files Browse the repository at this point in the history
Co-authored-by: Rich Harris <[email protected]>
  • Loading branch information
dummdidumm and Rich-Harris authored Mar 17, 2023
1 parent 678e80a commit afb36db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/adapter-vercel/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -611,7 +611,7 @@ function is_prerendered(route) {
return (
route.prerender === true ||
(route.prerender === 'auto' &&
!route.segments.some((segment) => segment.dynamic || segment.rest))
route.segments.every((segment) => !segment.dynamic))
);
}

Expand Down

0 comments on commit afb36db

Please sign in to comment.