If you are using `@cloudflare/next-on-pages`, the functions directory will not work as we generate o

If you are using @cloudflare/next-on-pages, the functions directory will not work as we generate our own _worker.js instead, and, as such, you should use Next.js Edge API routes instead.
Was this page helpful?