mirror of
https://github.com/Viren070/stremio-addons-list.git
synced 2025-12-01 23:19:02 +01:00
Update build.js
This commit is contained in:
@@ -210,7 +210,7 @@ getCached().then(cached => {
|
|||||||
|
|
||||||
queue.drain = () => {
|
queue.drain = () => {
|
||||||
if (config.DISCORD_WEBHOOK && newAddons.length)
|
if (config.DISCORD_WEBHOOK && newAddons.length)
|
||||||
sendDiscordMessage(newAddons.filter(addon => !config.blockedAnnouncers.includes(addon.url)))
|
sendDiscordMessage(newAddons.filter(addon => !config.blockedManifests.includes(addon.url)))
|
||||||
console.log('copying resources (styles, js, images)')
|
console.log('copying resources (styles, js, images)')
|
||||||
fs.readdirSync('./resources').forEach(file => {
|
fs.readdirSync('./resources').forEach(file => {
|
||||||
const filePath = `./resources/${file}`
|
const filePath = `./resources/${file}`
|
||||||
|
|||||||
Reference in New Issue
Block a user