From 82b61eb96718d568ea140c8de53dbc3976b8b947 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=89=91=E8=88=9E?= Date: Mon, 13 Aug 2018 17:44:43 +0800 Subject: [PATCH] If type is epub , request xhr with settings requestCredentials --- src/book.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/book.js b/src/book.js index d889089..eb0c827 100644 --- a/src/book.js +++ b/src/book.js @@ -233,7 +233,7 @@ class Book { } else if (type === INPUT_TYPE.EPUB) { this.archived = true; this.url = new Url("/", ""); - opening = this.request(input, "binary") + opening = this.request(input, "binary",this.settings.requestCredentials) .then(this.openEpub.bind(this)); } else if(type == INPUT_TYPE.OPF) { this.url = new Url(input);