Skip to content

Commit 467fc27

Browse files
authored
Merge pull request javascript-tutorial#373 from odsantos/update-en-resumable-file-upload
Update "Resumable file upload" article
2 parents 5c047c5 + 8f3fde6 commit 467fc27

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

5-network/09-resume-upload/article.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ To resume upload, we need to know *exactly* the number of bytes received by the
4848

4949
3. Then, we can use `Blob` method `slice` to send the file from `startByte`:
5050
```js
51-
xhr.open("POST", "upload", true);
51+
xhr.open("POST", "upload");
5252
5353
// File id, so that the server knows which file we upload
5454
xhr.setRequestHeader('X-File-Id', fileId);

0 commit comments

Comments
 (0)