Fix error message

This commit is contained in:
MICHAEL JACKSON 2017-08-10 22:58:02 -07:00
parent 3f50bda1dd
commit 5d726d6864
1 changed files with 1 additions and 1 deletions

View File

@ -54,7 +54,7 @@ function serveFile(autoIndex, maximumDepth) {
}
})
} else {
res.status(403).send(`Cannot serve ${req.packageSpec}${req.filename}; it's not a req.file`)
res.status(403).send(`Cannot serve ${req.packageSpec}${req.filename}; it's not a file`)
}
}
}