you can't use the functions directory when using next-on-pages since we generate our own worker for

you can't use the functions directory when using next-on-pages since we generate our own worker for your app, so you need to use next.js API routes.
Was this page helpful?