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,