Update index_region_m3u.js

This commit is contained in:
Aleksandr Statciuk
2022-03-15 00:43:01 +03:00
parent 4a06b27571
commit 8bf7ce514f

View File

@@ -42,7 +42,7 @@ function getChannelRegions(stream, { regions }) {
acc.push(regions[code])
break
case 's':
const [c] = item.split('-')
const [c] = code.split('-')
const r1 = _.filter(regions, { countries: [c] })
acc = acc.concat(r1)
break