We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b88ae13 commit a7a888dCopy full SHA for a7a888d
packages/open-next/src/utils/stream.ts
@@ -37,7 +37,7 @@ export function toReadableStream(
37
38
export function emptyReadableStream(): ReadableStream {
39
if (process.env.OPEN_NEXT_FORCE_NON_EMPTY_RESPONSE === "true") {
40
- return Readable.toWeb(Readable.from(["SOMETHING"]));
+ return Readable.toWeb(Readable.from([Buffer.from("SOMETHING")]));
41
}
42
return Readable.toWeb(Readable.from([]));
43
0 commit comments