Skip to content

Commit a6b98f5

Browse files
committed
docs(README): typo
1 parent fc48e3b commit a6b98f5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,9 @@ import {downloadFileBrowser} from "ipull/dist/browser.js";
5656

5757
const downloader = await downloadFileBrowser({
5858
url: 'https://example.com/file.large',
59-
acceptRangeIsKnown: true, // cors origin request will not return the range header, but we can force it to be true (multi-connection download)
60-
// defaultFetchDownloadInfo: { // if we know the file size and other info, we can set it manually to overcome CORS issues && prevent multiple requests
61-
// acceptRanges: true,
59+
acceptRangeIsKnown: true, // overcome CORS, force multi-connection download (use only if you know the server supports range requests)
60+
// defaultFetchDownloadInfo: { // set download info manually to overcome CORS issues && prevent multiple requests
61+
// acceptRange: true,
6262
// length: 40789822,
6363
// }
6464
});

0 commit comments

Comments
 (0)