In my next.js app (app routing) I need custom route handling on the client. What I am doing is [[...route]]/page.tsx
. The problem with this is that all api/
requests are landing to this page. I wish api
would take a priority over wild card route, but it does not seem to be the case. I appreciate any ideas.