This commit is contained in:
calzoneman 2014-02-28 08:43:04 -06:00
parent 0f4c29952f
commit 5b793710c3
5 changed files with 18 additions and 84 deletions

View file

@ -231,7 +231,7 @@ function static(dir) {
req.header("user-agent").toLowerCase() === "zmeu") {
res.send("This server disallows requests from ZmEu.");
} else {
res.send("The request " + req.route.method.toUpperCase() + " " +
res.send("The request " + req.method.toUpperCase() + " " +
req.path + " looks pretty fishy to me. Double check that " +
"you typed it correctly.");
}