Skip to content

Commit

Permalink
chore: remove console log
Browse files Browse the repository at this point in the history
  • Loading branch information
DeboraSerra committed Dec 18, 2024
1 parent 3240a8f commit f1cf159
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion backend/src/middleware/ipFilter.middleware.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
const getIpFromRequest = (req) => {
const forwardedFor = req.headers["x-forwarded-for"];
const remoteAddress = req.connection.remoteAddress;
console.log({ forwardedFor, remoteAddress });
return (forwardedFor || remoteAddress).replace("::ffff:", "");
};

Expand Down

0 comments on commit f1cf159

Please sign in to comment.