From 29d790830bc4e4aa2302126c40b8c507c153f9b9 Mon Sep 17 00:00:00 2001 From: Book Pauk Date: Tue, 12 Feb 2019 19:29:55 +0700 Subject: [PATCH] =?UTF-8?q?=D0=9F=D0=BE=D0=BF=D1=80=D0=B0=D0=B2=D0=B8?= =?UTF-8?q?=D0=BB=20=D0=B1=D0=B0=D0=B3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- client/api/reader.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/api/reader.js b/client/api/reader.js index cddb3c38..e6d73773 100644 --- a/client/api/reader.js +++ b/client/api/reader.js @@ -56,7 +56,7 @@ class Reader { } async loadCachedBook(url, callback){ - const response = await axios.get(url, {method: 'HEAD'}); + const response = await axios.head(url); let estSize = 1000000; if (response.headers['content-length']) {