Skip to content

Commit

Permalink
Remove a redundant argument
Browse files Browse the repository at this point in the history
  • Loading branch information
wdscxsj authored Oct 13, 2022
1 parent bf7d8bb commit ca42edd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 5-network/09-resume-upload/article.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ To resume upload, we need to know *exactly* the number of bytes received by the

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

0 comments on commit ca42edd

Please sign in to comment.