Rename blacklist file
This commit is contained in:
parent
5c4da640c8
commit
25b8076811
|
@ -43,7 +43,7 @@ unpkg is not affiliated with or supported by npm, Inc. in any way. Please do not
|
||||||
|
|
||||||
### Abuse
|
### 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
|
### Feedback
|
||||||
|
|
||||||
|
|
|
@ -104,7 +104,7 @@ const defaultServerConfig = {
|
||||||
// for the middleware
|
// for the middleware
|
||||||
registryURL: process.env.REGISTRY_URL || 'https://registry.npmjs.org',
|
registryURL: process.env.REGISTRY_URL || 'https://registry.npmjs.org',
|
||||||
autoIndex: !process.env.DISABLE_INDEX,
|
autoIndex: !process.env.DISABLE_INDEX,
|
||||||
blacklist: require('./package-blacklist').blacklist
|
blacklist: require('./PackageBlacklist').blacklist
|
||||||
}
|
}
|
||||||
|
|
||||||
const startServer = (serverConfig = {}) => {
|
const startServer = (serverConfig = {}) => {
|
||||||
|
|
Loading…
Reference in New Issue