Skip to content

Commit

Permalink
hopefully fix issue with e2e (#492)
Browse files Browse the repository at this point in the history
  • Loading branch information
conico974 committed Aug 21, 2024
1 parent b88ae13 commit a7a888d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/open-next/src/utils/stream.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export function toReadableStream(

export function emptyReadableStream(): ReadableStream {
if (process.env.OPEN_NEXT_FORCE_NON_EMPTY_RESPONSE === "true") {
return Readable.toWeb(Readable.from(["SOMETHING"]));
return Readable.toWeb(Readable.from([Buffer.from("SOMETHING")]));
}
return Readable.toWeb(Readable.from([]));
}

0 comments on commit a7a888d

Please sign in to comment.