From 9698837c7d06c7a628037da7d2d2743f03ecc52c Mon Sep 17 00:00:00 2001 From: HerbertHe Date: Sat, 7 Sep 2024 12:48:18 +0800 Subject: [PATCH] fix: error url --- package.json | 2 +- src/rollback.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 23124d073..53be01f8f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "iptv-sources", - "version": "1.6.2", + "version": "1.6.3", "main": "index.js", "repository": "git@github.com:HerbertHe/iptv-sources.git", "author": "HerbertHe ", diff --git a/src/rollback.ts b/src/rollback.ts index 0677de5c0..637221030 100644 --- a/src/rollback.ts +++ b/src/rollback.ts @@ -56,7 +56,7 @@ export const updateEPGByRollback = async ( const rollback_urls = get_rollback_urls() try { const now = hrtime.bigint() - const res = await fetch(`${rollback_urls[idx]}/${sr.f_name}.xml`) + const res = await fetch(`${rollback_urls[idx]}/epg/${sr.f_name}.xml`) if (res.ok) { console.log( `Fetch EPG from ${sr.name} with ROLLBACK from ${