fix: sw requestURL
This commit is contained in:
parent
2e63a3d8ff
commit
1a7a41dae6
@ -1,4 +1,4 @@
|
||||
const CACHE_NAME = 'hubl-store-swfc14';
|
||||
const CACHE_NAME = 'hubl-store-swfc15';
|
||||
|
||||
self.addEventListener('install', function (e) {
|
||||
self.skipWaiting();
|
||||
@ -72,7 +72,7 @@ self.addEventListener('fetch', function (event) {
|
||||
} else {
|
||||
if (
|
||||
/unpkg/.test(requestURL.origin) ||
|
||||
/skypack/.test(request.origin) ||
|
||||
/skypack/.test(requestURL.origin) ||
|
||||
/jspm/.test(requestURL.origin) ||
|
||||
/jsdeliver/.test(requestURL.origin) ||
|
||||
/cdn/.test(requestURL.origin) ||
|
||||
|
Loading…
Reference in New Issue
Block a user