1
0
mirror of https://github.com/iptv-org/iptv.git synced 2025-06-19 01:55:13 +08:00

Includes NSFW channels into the channels.json

This commit is contained in:
Aleksandr Statciuk 2021-12-31 10:19:23 +03:00
parent d19ffe0bb0
commit 47da92a610

View File

@ -290,7 +290,7 @@ async function generateIndexRegion() {
async function generateChannelsJson() {
logger.info('Generating channels.json...')
await generator.generate(`${PUBLIC_PATH}/channels.json`, {}, { format: 'json' })
await generator.generate(`${PUBLIC_PATH}/channels.json`, {}, { format: 'json', includeNSFW: true })
}
async function setUp() {