fix: service worker fn

This commit is contained in:
Azgaar 2024-09-20 15:40:10 +02:00 committed by sofronaspe
parent 19ee11198f
commit 0a388342aa
2 changed files with 2 additions and 2 deletions

2
sw.js
View file

@ -21,7 +21,7 @@ registerRoute(
request.destination === "script" &&
!url.pathname.endsWith("min.js") &&
!url.pathname.includes("versioning.js") &&
!url.contains("google"),
!url.pathname.includes("google"),
new StaleWhileRevalidate({
cacheName: "fmg-scripts",
plugins: [