function getClientAddress(req) { | |
return req.headers['x-forwarded-for'] || req.connection.remoteAddress; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
function getClientAddress(req) { | |
return req.headers['x-forwarded-for'] || req.connection.remoteAddress; | |
} |