accessing route handler issues 404 error
I have this route handler at
src/app/api/foo/route.ts
:
but going to http://localhost:3000/api/foo issues this error:
when running vercel dev
, which I need to run for accessing some api endpoints using golang serverless functions, but it works just fine when I run npm run dev
. how to fix this?0 Replies