Skip to content

Commit 8ecb2be

Browse files
committed
Precache caption fonts for offline export
1 parent 317f048 commit 8ecb2be

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

apps/web/vite.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ export default defineConfig({
3737
// Precache the whole shell — including the JS chunk that embeds the
3838
// offline geocoding dataset and the bundled fonts — so the app works
3939
// with no network at all.
40-
globPatterns: ['**/*.{js,css,html,svg,png,woff,woff2}'],
40+
globPatterns: ['**/*.{js,css,html,svg,png,woff,woff2,ttf}'],
4141
maximumFileSizeToCacheInBytes: 4 * 1024 * 1024,
4242
cleanupOutdatedCaches: true,
4343
},

0 commit comments

Comments
 (0)