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
1 changed files with 1 additions and 1 deletions

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() {