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; }