Includes NSFW channels into the channels.json

This commit is contained in:
Aleksandr Statciuk
2021-12-31 10:19:23 +03:00
parent 552f19790d
commit cf63b74abe

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