diff options
| author | Andrew Dolgov <fox@fakecake.org> | 2026-08-01 22:41:57 +0300 |
|---|---|---|
| committer | Andrew Dolgov <fox@fakecake.org> | 2026-08-01 22:41:57 +0300 |
| commit | cad0e7518a64e60fe1c2e376e7d4e38f0d6cd89a (patch) | |
| tree | 30ae7f42dc71276a1cd53cf0329789ed6b063785 /build.js | |
| parent | 4c5976aa910b818456c7d73a3f2277710206735c (diff) | |
| download | the-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.js | 7 |
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)]; |
