Add MIME type to the generated .epub file

This commit is contained in:
Alex Adam 2020-12-24 15:52:14 +02:00
parent 03dd484827
commit 12a4cbb081
4 changed files with 173 additions and 186 deletions

View file

@ -188,7 +188,8 @@ function _buildEbook(allPages, fromMenu=false) {
zip.generateAsync({
type: "blob"
type: "blob",
mimeType: "application/epub+zip"
})
.then(function(content) {
console.log("done !");