fix: wrong format on test method
This commit is contained in:
parent
eb92447b73
commit
51c3afad46
@ -40,7 +40,7 @@ workbox.routing.registerRoute(
|
|||||||
'https://jspm.dev',
|
'https://jspm.dev',
|
||||||
'https://fonts.googleapis.com',
|
'https://fonts.googleapis.com',
|
||||||
'https://cdn.startinblox.com'
|
'https://cdn.startinblox.com'
|
||||||
].includes(url.origin) || url.origin.test(/cdn/),
|
].includes(url.origin) || /cdn/.test(url.origin),
|
||||||
new workbox.strategies.StaleWhileRevalidate({
|
new workbox.strategies.StaleWhileRevalidate({
|
||||||
cacheName: 'cdn',
|
cacheName: 'cdn',
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user