Includes NSFW channels into the channels.json

pull/5918/head
Aleksandr Statciuk 3 years ago
parent d19ffe0bb0
commit 47da92a610

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

Loading…
Cancel
Save