diff --git a/build.js b/build.js index 51198e1..321b572 100644 --- a/build.js +++ b/build.js @@ -111,7 +111,8 @@ getCached().then(cached => { }) if (cached.catalog.length && !cached.catalog.find(el => ((el || {}).manifest || {}).id === addonManifest.id)) { task.manifest = addonManifest - newAddons.push(task) + if (!config.blockedManifests.includes(task.url)) + newAddons.push(task) } task.labels.pop('approved') // we shouldn't show the "approved" label on the addon page diff --git a/config.js b/config.js index 6d93645..acb3ab5 100644 --- a/config.js +++ b/config.js @@ -37,7 +37,7 @@ module.exports = { "needle": { "open_timeout": 5000, "response_timeout": 5000, "read_timeout": 5000, "follow_max": 5 }, // output folder for build "build-dir": "./out", - "blockedAnnouncers": [ + "blockedManifests": [ "https://comet.elfhosted.com/manifest.json", ] }