fix: error url

This commit is contained in:
HerbertHe 2024-09-07 12:48:18 +08:00
parent ba2044403c
commit 9698837c7d
2 changed files with 2 additions and 2 deletions

View File

@ -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 <Herbert.He0229@gmail.com>",

View File

@ -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 ${