Commit 938bb7c6 authored by Travis Fischer's avatar Travis Fischer

fix: vercel fetch

parent 4e2397b8
......@@ -24,7 +24,7 @@ export async function fetchSSE(
// web standards, so this is a workaround...
const body: NodeJS.ReadableStream = res.body as any
if (body.on || !body.read) {
if (!body.on || !body.read) {
throw new Error('unsupported "fetch" implementation')
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment