`c.req.json()` makes my POST endpoint hang and timeout
Setup:
- Vercel serverless functions, Node.js runtime
- @hono/vite-build, vite-config.ts:
index.ts
example, /app-birdge
4 Replies
Is it hanging or erroring on
c.req.json()?
I can't say I've used vercel with hono in the past but I do remember some issue with vercel's bodyparserHanging
this may be relevant: https://github.com/honojs/vite-plugins/pull/241
I ended up manually parsing the body from
c.env.incoming