Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 309738c

Browse files
authoredMar 29, 2025
Fix url key of createFileOutput options for streaming
1 parent 5ccf9f3 commit 309738c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

Diff for: ‎lib/stream.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ function createReadableStream({ url, fetch, options = {} }) {
9393
typeof data === "string" &&
9494
(data.startsWith("https:") || data.startsWith("data:"))
9595
) {
96-
data = createFileOutput({ data, fetch });
96+
data = createFileOutput({ url: data, fetch });
9797
}
9898
controller.enqueue(new ServerSentEvent(event.event, data, event.id));
9999

0 commit comments

Comments
 (0)
Please sign in to comment.