mirror of https://github.com/Nofated095/blog
update sw.js
This commit is contained in:
parent
96b225bcaa
commit
50a488b042
|
@ -53,7 +53,7 @@ routing.registerRoute(
|
||||||
})
|
})
|
||||||
);
|
);
|
||||||
|
|
||||||
registerRoute(
|
routing.registerRoute(
|
||||||
/.*xgjalbum\.oss-cn-hangzhou\.aliyuncs\.com/,
|
/.*xgjalbum\.oss-cn-hangzhou\.aliyuncs\.com/,
|
||||||
new CacheFirst({
|
new CacheFirst({
|
||||||
cacheName: 'static-immutable' + cacheSuffixVersion,
|
cacheName: 'static-immutable' + cacheSuffixVersion,
|
||||||
|
|
Loading…
Reference in New Issue