Fix error message
This commit is contained in:
parent
3f50bda1dd
commit
5d726d6864
|
@ -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`)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue