diff options
Diffstat (limited to 'server.js')
-rw-r--r-- | server.js | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -59,6 +59,7 @@ const main = () => { // throw a 403 res.writeHead(403, { 'Content-Type': 'text/plain' }); res.end('Forbidden'); + console.log('Unauthorized access attempt from ' + (req.headers['x-forwarded-for'] || req.socket.remoteAddress)); } }); |