From 50a488b042e28780404258c6ccdfc9dd361dd86b Mon Sep 17 00:00:00 2001 From: Nofated095 Date: Sun, 26 Nov 2023 11:35:12 +0800 Subject: [PATCH] update sw.js --- source/js/sw.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/js/sw.js b/source/js/sw.js index 5a76466..7f1227b 100644 --- a/source/js/sw.js +++ b/source/js/sw.js @@ -53,7 +53,7 @@ routing.registerRoute( }) ); -registerRoute( +routing.registerRoute( /.*xgjalbum\.oss-cn-hangzhou\.aliyuncs\.com/, new CacheFirst({ cacheName: 'static-immutable' + cacheSuffixVersion,