Skip to content

Commit

Permalink
⚗️ [PWA] Try to fix the 404 redirect
Browse files Browse the repository at this point in the history
  • Loading branch information
beefchimi committed Jul 22, 2024
1 parent f509bbb commit 500adf5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ export default defineConfig({
workbox: {
// Not sure how this differs from `includeAssets`...
// globPatterns: ['**/*.{js,css,html,ico,png,svg}'],
// Not sure if we actually want to specify this fallback.
navigateFallback: '/404',
// Using this seems to always `404` for saved "web apps".
// navigateFallback: '/404',
},

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

0 comments on commit 500adf5

Please sign in to comment.