Returns back the list of streams

This commit is contained in:
freearhey 2023-10-09 16:04:01 +03:00
parent 230e426c9c
commit 4bad886862
5 changed files with 14 additions and 83 deletions

View file

@ -52,7 +52,6 @@ export async function fetchChannels() {
'closed',
'replaced_by',
'streams',
'guides',
'is_nsfw',
'is_closed',
'is_blocked'
@ -128,8 +127,6 @@ async function loadAPI() {
.then(data => _.groupBy(data, 'channel'))
.catch(console.error)
api.guides = {}
api.channels = await fetch('https://iptv-org.github.io/api/channels.json')
.then(r => r.json())
.catch(err => {