mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-17 01:41:22 +01:00
fix: service worker fn
This commit is contained in:
parent
5904e9e7c6
commit
e9113730b9
2 changed files with 2 additions and 2 deletions
2
sw.js
2
sw.js
|
|
@ -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: [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue