Rename blacklist file

This commit is contained in:
MICHAEL JACKSON 2017-08-10 09:35:55 -07:00
parent 5c4da640c8
commit 25b8076811
3 changed files with 2 additions and 2 deletions

View File

@ -43,7 +43,7 @@ unpkg is not affiliated with or supported by npm, Inc. in any way. Please do not
### Abuse
unpkg blacklists some packages to prevent abuse. If you find a malicious package on npm, please take a moment to add it to [our blacklist](https://github.com/unpkg/unpkg.com/blob/master/server/package-blacklist.json).
unpkg blacklists some packages to prevent abuse. If you find a malicious package on npm, please take a moment to add it to [our blacklist](https://github.com/unpkg/unpkg.com/blob/master/server/PackageBlacklist.json).
### Feedback

View File

@ -104,7 +104,7 @@ const defaultServerConfig = {
// for the middleware
registryURL: process.env.REGISTRY_URL || 'https://registry.npmjs.org',
autoIndex: !process.env.DISABLE_INDEX,
blacklist: require('./package-blacklist').blacklist
blacklist: require('./PackageBlacklist').blacklist
}
const startServer = (serverConfig = {}) => {