fix: error url
This commit is contained in:
parent
ba2044403c
commit
9698837c7d
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "iptv-sources",
|
"name": "iptv-sources",
|
||||||
"version": "1.6.2",
|
"version": "1.6.3",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"repository": "git@github.com:HerbertHe/iptv-sources.git",
|
"repository": "git@github.com:HerbertHe/iptv-sources.git",
|
||||||
"author": "HerbertHe <Herbert.He0229@gmail.com>",
|
"author": "HerbertHe <Herbert.He0229@gmail.com>",
|
||||||
|
|
|
@ -56,7 +56,7 @@ export const updateEPGByRollback = async (
|
||||||
const rollback_urls = get_rollback_urls()
|
const rollback_urls = get_rollback_urls()
|
||||||
try {
|
try {
|
||||||
const now = hrtime.bigint()
|
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) {
|
if (res.ok) {
|
||||||
console.log(
|
console.log(
|
||||||
`Fetch EPG from ${sr.name} with ROLLBACK from ${
|
`Fetch EPG from ${sr.name} with ROLLBACK from ${
|
||||||
|
|
Loading…
Reference in New Issue