Next.js API Routes behaving differently on Vercel

I have this code and if I run it locally (dev and build) I can see the status text, but if I host it on Vercel I just get BAD REQUEST
No description
No description
No description
1 Reply
FleetAdmiralJakob 🗕 🗗 🗙
Ok, guys, seems to have to do with the fact that HTTP2 does not support a statusText The dev server uses http 1.1 and vercel http 2
Want results from more Discord servers?
Add your server