Simplify server config

This commit is contained in:
MICHAEL JACKSON
2017-08-12 10:38:50 -07:00
parent 4653ee9e42
commit 5f2805c2e9
5 changed files with 53 additions and 58 deletions

View File

@ -5,7 +5,7 @@ const PackageURL = require('../PackageURL')
/**
* Fetch the package from the registry and store a local copy on disk.
* Redirect if the URL does not specify an exact req.packageVersion number.
* Redirect if the URL does not specify an exact version number.
*/
function fetchPackage(req, res, next) {
PackageInfo.get(req.packageName, function (error, packageInfo) {