diff --git a/client/About.md b/client/About.md index cf00adc..ca36e06 100644 --- a/client/About.md +++ b/client/About.md @@ -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 diff --git a/server/package-blacklist.json b/server/PackageBlacklist.json similarity index 100% rename from server/package-blacklist.json rename to server/PackageBlacklist.json diff --git a/server/index.js b/server/index.js index 9006f9e..fea1d6c 100644 --- a/server/index.js +++ b/server/index.js @@ -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 = {}) => {