From ca42edda2cbe2b617c4d928a14a97ff0cdb382f4 Mon Sep 17 00:00:00 2001 From: Yang Yang Date: Thu, 13 Oct 2022 17:14:01 +0800 Subject: [PATCH] Remove a redundant argument --- 5-network/09-resume-upload/article.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/5-network/09-resume-upload/article.md b/5-network/09-resume-upload/article.md index 7eedc3fbd5..b0aa447d61 100644 --- a/5-network/09-resume-upload/article.md +++ b/5-network/09-resume-upload/article.md @@ -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);