mirror of
https://github.com/futurepress/epub.js.git
synced 2025-10-04 15:09:16 +02:00
Merge pull request #808 from jianwwpro/master
If type is epub , request xhr with settings requestCredentials
This commit is contained in:
commit
8ba1270a7d
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue