The functions directory doesn't work with next-on-pages as we generate our own worker for your route

The functions directory doesn't work with next-on-pages as we generate our own worker for your route. You should be using next.js API routes if you're using next-on-pages
Was this page helpful?