Skip to content

Commit

Permalink
fix up into pwa config
Browse files Browse the repository at this point in the history
  • Loading branch information
beefchimi committed Jul 26, 2024
1 parent 2182d94 commit 24b6d33
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@ export default defineConfig({
globPatterns: ['**/*.{css,js,html,woff2}', 'assets/*.{png,webp}'],
// Not sure if we actually want to specify this fallback.
navigateFallback: '/',
// navigateFallback: '/404',
// The `chicken` image is 2.2MB, so we increase the limit to 3MB.
maximumFileSizeToCacheInBytes: 3000000,
},

// Specify which public assets (in addition to the default html/css/js)
Expand Down

0 comments on commit 24b6d33

Please sign in to comment.