mirror of
https://github.com/futurepress/epub.js.git
synced 2025-10-05 15:32:55 +02:00
Send requestHeaders on Book open request
This commit is contained in:
parent
d75b47e05b
commit
90b247c20f
1 changed files with 1 additions and 1 deletions
|
@ -258,7 +258,7 @@ class Book {
|
|||
} else if (type === INPUT_TYPE.EPUB) {
|
||||
this.archived = true;
|
||||
this.url = new Url("/", "");
|
||||
opening = this.request(input, "binary", this.settings.requestCredentials)
|
||||
opening = this.request(input, "binary", this.settings.requestCredentials, this.settings.requestHeaders)
|
||||
.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