about summary refs log tree commit diff stats
path: root/build.js
diff options
context:
space:
mode:
authorAndrew Dolgov <fox@fakecake.org>2026-08-01 22:41:57 +0300
committerAndrew Dolgov <fox@fakecake.org>2026-08-01 22:41:57 +0300
commitcad0e7518a64e60fe1c2e376e7d4e38f0d6cd89a (patch)
tree30ae7f42dc71276a1cd53cf0329789ed6b063785 /build.js
parent4c5976aa910b818456c7d73a3f2277710206735c (diff)
downloadthe-epube-cad0e7518a64e60fe1c2e376e7d4e38f0d6cd89a.tar.gz
the-epube-cad0e7518a64e60fe1c2e376e7d4e38f0d6cd89a.tar.xz
add custom fetch() with short timeout to better handle dead DNS situations on mobile
Diffstat (limited to 'build.js')
-rw-r--r--build.js7
1 files changed, 5 insertions, 2 deletions
diff --git a/build.js b/build.js
index 54488cf..2f3f771 100644
--- a/build.js
+++ b/build.js
@@ -122,8 +122,11 @@ async function buildApp() {
 	);
 
 	// Add fonts and images
-	MANIFEST_ASSETS.push(...globSync('lib/fonts/*'));
-	MANIFEST_ASSETS.push(...globSync('img/*.png'));
+    MANIFEST_ASSETS.push(...globSync('lib/fonts/*'));
+    MANIFEST_ASSETS.push(...globSync('img/*.png'));
+
+    // Add bootstrap fonts
+    MANIFEST_ASSETS.push(...globSync('lib/bootstrap/v3/fonts/*'));
 
 	// deduplicate
 	MANIFEST_ASSETS = [...new Set(MANIFEST_ASSETS)];