Skip to content

armgit / TREK

Public Imported from GitHub
0

The most complete open-source travel planner: real-time collaboration, bookings, budgets, packing lists, journals, offline PWA, SSO and an AI-ready MCP server, with planet-wide place search and routing built in.

raise PWA precache limit so mapbox-gl bundle builds

Maurice545d62c40066
diff --git a/client/vite.config.js b/client/vite.config.js
index 64292ae3a..8a5334b61 100644
--- a/client/vite.config.js
+++ b/client/vite.config.js
@@ -8,7 +8,7 @@ export default defineConfig({
VitePWA({
registerType: 'autoUpdate',
workbox: {
- maximumFileSizeToCacheInBytes: 5 * 1024 * 1024,
+ maximumFileSizeToCacheInBytes: 10 * 1024 * 1024,
globPatterns: ['**/*.{js,css,html,svg,png,woff,woff2,ttf}'],
navigateFallback: 'index.html',
navigateFallbackDenylist: [/^\/api/, /^\/uploads/, /^\/mcp/],