More fixes

This commit is contained in:
2017-07-14 01:50:10 +02:00
parent f2386ee9c7
commit 815f99ce9c
4 changed files with 5 additions and 15 deletions

View File

@ -26,7 +26,7 @@ self.addEventListener("fetch", async (evt: any) => {
}
// Do not use cache in some cases
if(request.method !== "GET" || isAuth || request.url.includes("chrome-extension")) {
if(request.method !== "GET" || isAuth) {
return evt.waitUntil(evt.respondWith(fetch(request)))
}