mirror of
https://github.com/futurepress/epub.js.git
synced 2025-10-04 15:09:16 +02:00
normalize htm to html
This commit is contained in:
parent
61ab2cfce3
commit
0012df1fcd
1 changed files with 3 additions and 0 deletions
|
@ -93,6 +93,9 @@ EPUBJS.core.request = function(url, type, withCredentials) {
|
|||
if(!type) {
|
||||
uri = EPUBJS.core.uri(url);
|
||||
type = uri.extension;
|
||||
type = {
|
||||
'htm': 'html'
|
||||
}[type] || type;
|
||||
}
|
||||
|
||||
if(type == 'blob'){
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue