From 852cdf7864a672ad85004892c4f4a946493503e4 Mon Sep 17 00:00:00 2001 From: beefchimi Date: Mon, 22 Jul 2024 12:03:37 -0400 Subject: [PATCH] :alembic: [PWA] Try to fix the 404 redirect --- astro.config.mjs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/astro.config.mjs b/astro.config.mjs index 992ac4a..bd65a2f 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -29,11 +29,13 @@ export default defineConfig({ integrations: [ AstroPWA({ workbox: { + // Not sure how this differs from `includeAssets`... // globPatterns: ['**/*.{js,css,html,ico,png,svg}'], - navigateFallback: '/404', + // Using this seems to always `404` for saved "web apps". + // navigateFallback: '/404', }, - // Specify which assets (in addition to the default html/css/js) + // Specify which public assets (in addition to the default html/css/js) // we want to include in our pre-cache. // includeAssets: ['favicon.ico', 'apple-touch-icon.png', 'mask-icon.svg'],