Remove "blacklist" feature

This commit is contained in:
MICHAEL JACKSON
2017-06-06 15:28:08 -07:00
parent 2ac8dc554e
commit 24662763b1
3 changed files with 2 additions and 12 deletions

View File

@ -105,8 +105,7 @@ const defaultServerConfig = {
// for express-unpkg
registryURL: process.env.REGISTRY_URL || 'https://registry.npmjs.org',
redirectTTL: process.env.REDIRECT_TTL || 500,
autoIndex: !process.env.DISABLE_INDEX,
blacklist: require('./package-blacklist').blacklist
autoIndex: !process.env.DISABLE_INDEX
}
const startServer = (serverConfig = {}) => {