Fix: Update avail. was cached and making mistake..

This commit is contained in:
Johnnybegood90
2026-03-14 12:08:06 +01:00
parent 77f02361ab
commit 27ef739845
+3 -2
View File
@@ -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;
}