Fix service worker

This commit is contained in:
Zef Hemel
2022-09-14 09:49:55 +02:00
parent fb6e15c9b4
commit 1195842724
+1 -1
View File
@@ -36,7 +36,7 @@ self.addEventListener("fetch", (event: any) => {
} else {
if (
parsedUrl.pathname !== "/fs" &&
!parsedUrl.pathname.startsWith("/page/") &&
!parsedUrl.pathname.startsWith("/fs/") &&
!parsedUrl.pathname.startsWith("/plug/")
) {
return cache.match("/index.html");