We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6faf21b commit 47c1244Copy full SHA for 47c1244
isuumo/webapp/nodejs/app.js
@@ -52,6 +52,7 @@ app.use(function (req, res, next) {
52
if (BOT_REGEX.some((regex) => regex.test(agent))) {
53
console.log("BOT blocked: " + agent)
54
res.status(503).send();
55
+ return;
56
}
57
next()
58
})
0 commit comments