mirror of
https://github.com/iptv-org/epg
synced 2025-12-17 02:47:02 -05:00
Update update-codes.js
This commit is contained in:
@@ -36,9 +36,11 @@ async function main() {
|
||||
file.write('.gh-pages/codes.json', JSON.stringify(sorted))
|
||||
|
||||
const _items = {}
|
||||
countries.forEach(country => {
|
||||
Object.values(countries).forEach(country => {
|
||||
_items[country.code] = {
|
||||
...country,
|
||||
flag: country.flag,
|
||||
name: country.name,
|
||||
code: country.code,
|
||||
expanded: false,
|
||||
channels: []
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user