From 296ecef9c218011f898310e872714e1b9530187e Mon Sep 17 00:00:00 2001 From: ItzLightyHD Date: Mon, 25 Apr 2022 15:10:56 +0200 Subject: [PATCH] Fixed the refreshing thing --- src/sw.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sw.js b/src/sw.js index a1eb8d5..4ccdcb7 100644 --- a/src/sw.js +++ b/src/sw.js @@ -3,6 +3,6 @@ importScripts( ); workbox.routing.registerRoute( - ({ request }) => request.destination === 'script' && request.destination === 'image', + ({ request }) => request.destination === 'image', new workbox.strategies.CacheFirst() ); \ No newline at end of file