Merge branch 'master' into tempban
This commit is contained in:
commit
4bdbcc83b7
1 changed files with 0 additions and 1 deletions
|
@ -46,7 +46,6 @@ const autoblockPublishMiddleware = (req, res, next) => {
|
|||
let ip = (req.headers['x-forwarded-for'] || req.connection.remoteAddress).split(/,\s?/)[0];
|
||||
|
||||
if(blockedAddresses.indexOf(ip) !== -1) {
|
||||
logger.warn(`Banned IP publish attempt: ${ip}`);
|
||||
res.status(403).send(forbiddenMessage);
|
||||
res.end();
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue