Skip to content

Commit

Permalink
test: don't cache images in SW
Browse files Browse the repository at this point in the history
  • Loading branch information
th0rgall committed Feb 19, 2024
1 parent ae12198 commit 07d2ee8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/service-worker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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')
)
Expand Down

0 comments on commit 07d2ee8

Please sign in to comment.