Skip to content

Commit

Permalink
Merge pull request #3731 from OriginTrail/v8/develop
Browse files Browse the repository at this point in the history
8.0.1+hotfix.7 Testnet Prerelase
  • Loading branch information
Mihajlo-Pavlovic authored Feb 19, 2025
2 parents e5b2801 + 2873c25 commit 30dd2ce
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@ const parseIp = (req) => {
let xForwardedFor;
let socketRemoteAddress;

if (req.headers['x-forwarded-for']) {
xForwardedFor = req.headers['x-forwarded-for'].split(',').shift();
}

if (req.socket) {
socketRemoteAddress = req.socket.remoteAddress;
}
Expand Down

0 comments on commit 30dd2ce

Please sign in to comment.