pbojinov / request-ip

A Node.js module for retrieving a request's IP address on the server.
https://npmjs.com/package/request-ip
MIT License
828 stars 102 forks source link

fix x-forwarded-header parser #61

Closed aseyfpour closed 2 years ago

aseyfpour commented 2 years ago

change the order of ip extraction

aseyfpour commented 2 years ago

@pbojinov Could you please review this PR?

pbojinov commented 2 years ago

@aseyfpour thank you for putting this together. I'm going to merge this in and release it as 3.x