Closed
Description
Environment
Node: v18.15.0
Nitropack: 2.5.2
Reproduction
Deploy an app with streaming to "vercel" preset
Describe the bug
The handler is responding with a NodeJS stream and works on NodeJS normal. Typically lambda has not supported streaming so Vercel's serverless offering didn't either, but recently they added support for it but its behind a flag called supportsResponseStreaming
that needs to be applied to your serverless function's vc_config.json
.
I think we should make this the default so people don't get bit by it not realizing that they need to enable this. People could potentially be given an option to disable it.
Additional context
No response
Logs
No response