Skip to content
This repository was archived by the owner on Oct 11, 2022. It is now read-only.

Commit f1f2d6b

Browse files
committed
Dont cache image assets in serviceworker
1 parent 6951aa7 commit f1f2d6b

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Diff for: config-overrides.js

+2
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,8 @@ module.exports = function override(config, env) {
9898
// Get all public files so they're cached by the SW
9999
let externals = [];
100100
walkFolder('./public/', file => {
101+
// HOTFIX: Don't cache images
102+
if (file.indexOf('img') > -1) return;
101103
externals.push(file.replace(/public/, ''));
102104
});
103105
config.plugins.push(

Diff for: public/_redirects

-1
This file was deleted.

0 commit comments

Comments
 (0)