Fix service worker
This commit is contained in:
parent
fb6e15c9b4
commit
1195842724
@ -36,7 +36,7 @@ self.addEventListener("fetch", (event: any) => {
|
|||||||
} else {
|
} else {
|
||||||
if (
|
if (
|
||||||
parsedUrl.pathname !== "/fs" &&
|
parsedUrl.pathname !== "/fs" &&
|
||||||
!parsedUrl.pathname.startsWith("/page/") &&
|
!parsedUrl.pathname.startsWith("/fs/") &&
|
||||||
!parsedUrl.pathname.startsWith("/plug/")
|
!parsedUrl.pathname.startsWith("/plug/")
|
||||||
) {
|
) {
|
||||||
return cache.match("/index.html");
|
return cache.match("/index.html");
|
||||||
|
Loading…
Reference in New Issue
Block a user