From 27ef73984585aea827ebf80d32aaaff3cd0e3023 Mon Sep 17 00:00:00 2001 From: Johnnybegood90 Date: Sat, 14 Mar 2026 12:08:06 +0100 Subject: [PATCH] Fix: Update avail. was cached and making mistake.. --- sw.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/sw.js b/sw.js index d0dc69b..c312579 100644 --- a/sw.js +++ b/sw.js @@ -33,12 +33,13 @@ self.addEventListener('activate', e => { self.addEventListener('fetch', e => { const url = new URL(e.request.url); - // EPG/M3U feeds and the GitHub API stay network-only. + // EPG/M3U feeds, the GitHub API, and version.json stay network-only. if ( url.pathname.includes('xmltv') || url.pathname.includes('.m3u') || url.hostname === 'api.github.com' || - url.pathname.includes('proxy.php') + url.pathname.includes('proxy.php') || + url.pathname.endsWith('version.json') ) { return; }