Merge branch 'master' of https://git.cluster.fun/AverageMarcus/blog
This commit is contained in:
commit
204f1d3a1b
@ -1,6 +1,8 @@
|
||||
const express = require('express');
|
||||
const router = express.Router();
|
||||
const blackHole = function (req, res) {};
|
||||
const blackHole = function (req, res) {
|
||||
res.redirect("https://crawler-test.com/redirects/infinite_redirect");
|
||||
};
|
||||
|
||||
router.all('(/*)?/wp-admin/', blackHole);
|
||||
router.all(/.*\.php$/, blackHole);
|
||||
@ -24,6 +26,7 @@ router.all('/sql-backup/', blackHole);
|
||||
router.all(/.*\/dbbackup\/.*/, blackHole);
|
||||
router.all('/bak/', blackHole);
|
||||
router.all(/.*\/mail\/config-.+\.xml/, blackHole);
|
||||
router.all(/archive\.zip/, blackHole);
|
||||
router.post('*', blackHole);
|
||||
router.put('*', blackHole);
|
||||
router.delete('*', blackHole);
|
||||
|
Loading…
Reference in New Issue
Block a user