mirror of
https://github.com/iptv-org/iptv
synced 2026-10-22 02:56:48 -04:00
Update generate.js
This commit is contained in:
1 parent
0b18a8ac33
commit
1fff72862f
1 file changed
+1
-1
+1
-1
@@ -121,7 +121,7 @@ function generateChannels() {
|
||||
const filename = `${ROOT_DIR}/channels.json`
|
||||
const sorted = helper.sortBy(list.all, ['name', 'url'])
|
||||
const channels = sorted.map(c => c.toJSON())
|
||||
helper.createFile(filename, JSON.stringify(channels, null, '\t'))
|
||||
helper.createFile(filename, JSON.stringify(channels))
|
||||
}
|
||||
|
||||
function generateCountryIndex() {
|
||||
|
||||
Reference in new issue
Block a user