@cloudflare/next-on-pages@1.13.0
github-actions
released this
29 Jul 17:16
·
25 commits
to main
since this release
Minor Changes
-
4bd4c19: Use
request.cf.regionCode
forx-vercel-ip-country-region
for keeping behavior consistent with documentation -
78accfd: Add support for custom worker entrypoints.
Example:
import nextOnPagesHandler from '@cloudflare/next-on-pages/fetch-handler'; export default { async fetch(request, env, ctx) { // do something before running the next-on-pages handler const response = await nextOnPagesHandler.fetch(request, env, ctx); // do something after running the next-on-pages handler return response; }, } as ExportedHandler<{ ASSETS: Fetcher }>;
Patch Changes
- 2527917: Account for the Vercel CLI no longer generating prerender configs for dynamic ISR functions.