Next has a built in API route https://nextjs.org/docs/api-routes/introduction
It uses /pages/api
Is it possible to change the default path from /api/* to something else like /myApi/*?
I was thinking about adding it to exportPathMap https://nextjs.org/docs/api-reference/next.config.js/exportPathMap
Any suggestions?