You shouldn't use `functions` folder. Instead you should use standard NextJS API handlers: https://n

You shouldn't use functions folder. Instead you should use standard NextJS API handlers: https://nextjs.org/docs/app/building-your-application/routing/route-handlers
Create custom request handlers for a given route using the Web's Request and Response APIs.
Was this page helpful?