diff --git a/utils/epub/asset.ts b/utils/epub/asset.ts
index bc62c6d2..ccfbb094 100644
--- a/utils/epub/asset.ts
+++ b/utils/epub/asset.ts
@@ -57,7 +57,7 @@ export const ISCN_XHTML = `
-
+
diff --git a/utils/epub/iscn.ts b/utils/epub/iscn.ts
index 3c971110..90d27924 100644
--- a/utils/epub/iscn.ts
+++ b/utils/epub/iscn.ts
@@ -165,6 +165,9 @@ export async function injectISCNQRCodePage(buffer: ArrayBuffer, book: Book, iscn
const updatedISCNXHTMLString = new XMLSerializer().serializeToString(iscnXHTMLDoc).toString()
await zipObject.file(iscnXHTMLPath, updatedISCNXHTMLString)
+ await zipObject.file('mimetype', 'application/epub+zip', {
+ compression: 'STORE',
+ });
const epubBlob = await zipObject.generateAsync({
mimeType: 'application/epub+zip',
type: 'blob',