From 07d2ee8b856a37a1849684679beac1a180cf1e06 Mon Sep 17 00:00:00 2001 From: Thor Galle Date: Mon, 19 Feb 2024 17:03:54 +0200 Subject: [PATCH] test: don't cache images in SW --- src/service-worker.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/service-worker.ts b/src/service-worker.ts index ec4c5679..bb4a5ce0 100644 --- a/src/service-worker.ts +++ b/src/service-worker.ts @@ -36,7 +36,7 @@ const prependOrigin = (assets: string[]) => assets.map((f) => sw.location.origin const customFileFilter = (pathName: string) => { if ( // Referenced from an unused component (SlowTravelMiniFestival) - pathName.startsWith('/images/workshops/') || + pathName.startsWith('/images/') || // Temporarily disabled feature, ~5MB file pathName.startsWith('/stations.geojson') )