Prevent multiple concurrent requests for package info

This commit is contained in:
MICHAEL JACKSON
2017-08-10 20:43:20 -07:00
parent 7661950de3
commit cb8061f3e1
9 changed files with 135 additions and 96 deletions

View File

@ -102,7 +102,6 @@ const defaultServerConfig = {
publicDir: 'public',
// for the middleware
registryURL: process.env.REGISTRY_URL || 'https://registry.npmjs.org',
autoIndex: !process.env.DISABLE_INDEX,
blacklist: require('./PackageBlacklist').blacklist
}