fix: add new service worker (#2971)
This commit is contained in:
parent
2f4ee35561
commit
4d95c17e86
4 changed files with 31 additions and 1 deletions
|
@ -43,6 +43,7 @@ if (import.meta.env.PROD) {
|
|||
/^\/emojis\//,
|
||||
// exclude sw: if the user navigates to it, fallback to index.html
|
||||
/^\/sw.js$/,
|
||||
/^\/elk-sw.js$/,
|
||||
// exclude webmanifest: has its own cache
|
||||
/^\/manifest-(.*).webmanifest$/,
|
||||
]
|
Loading…
Add table
Add a link
Reference in a new issue