fixed dumb check that for some reason worked on firefox
This commit is contained in:
parent
d7ada64a18
commit
f9df398c65
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@ async function fetchResponse(event) {
|
|||
|
||||
self.addEventListener('fetch', (event) => {
|
||||
console.log("Fetch:", event.request.url);
|
||||
if (!event.request.url.endsWith(".html") && event.request.url.indexOf(".") !== -1) {
|
||||
if (!event.request.url.endsWith(".html") && event.request.url.match("pagwin.xyz/.+\\..+") !== null) {
|
||||
console.log("blocked");
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue