Rich-Harris / adapter-node-repro

adapter-node repro

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

adapter-node bug repro

Start the repro...

pnpm i
pnpm start

...then post an unreasonably large payload to the /post route:

curl --data 42 http://localhost:3000/post

The console should print this...

{ status: 413, message: 'Payload Too Large' }

...but it prints this instead:

{ status: 500, message: 'Internal Error' }

About

adapter-node repro


Languages

Language:JavaScript 51.7%Language:TypeScript 20.8%Language:HTML 20.4%Language:Svelte 7.1%