mirror of
https://github.com/iptv-org/epg.git
synced 2025-05-10 00:50:09 -04:00
Update update-codes.js
This commit is contained in:
parent
210a2d646f
commit
f2cd80044c
1 changed files with 4 additions and 2 deletions
|
@ -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: []
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue