mirror of
https://github.com/iptv-org/iptv.git
synced 2025-05-13 02:20:03 -04:00
Update generate.js
This commit is contained in:
parent
254a992a51
commit
118e5a4a40
1 changed files with 1 additions and 1 deletions
|
@ -121,7 +121,7 @@ function generateChannels() {
|
||||||
const filename = `${ROOT_DIR}/channels.json`
|
const filename = `${ROOT_DIR}/channels.json`
|
||||||
const sorted = helper.sortBy(list.all, ['name', 'url'])
|
const sorted = helper.sortBy(list.all, ['name', 'url'])
|
||||||
const channels = sorted.map(c => c.toJSON())
|
const channels = sorted.map(c => c.toJSON())
|
||||||
helper.createFile(filename, JSON.stringify(channels, null, '\t'))
|
helper.createFile(filename, JSON.stringify(channels))
|
||||||
}
|
}
|
||||||
|
|
||||||
function generateCountryIndex() {
|
function generateCountryIndex() {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue