fix: service worker fn

This commit is contained in:
Azgaar 2024-09-20 15:40:10 +02:00
parent 5904e9e7c6
commit e9113730b9
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: [