From 065ddfe6c14eb9d93fb37211f644b2b73de50098 Mon Sep 17 00:00:00 2001 From: George Thomas Date: Thu, 1 Aug 2024 11:33:54 +0100 Subject: [PATCH] chore: debug log to determine ip ranges --- src/index.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/index.js b/src/index.js index a9bb83e..3e27ee8 100644 --- a/src/index.js +++ b/src/index.js @@ -41,6 +41,9 @@ const getMiddleware = () => (req, res, next) => { // Only expect private IPs from this range if (!blocklist.check(requestingIP)) { + // eslint-disable-next-line no-console + console.debug(`Blocking request from ${requestingIP}`); + return next(); }