rtman / wavy

1 stars 0 forks source link

Retrieve client IP address on graphql server to bypass adblock #99

Open rtman opened 4 years ago

rtman commented 4 years ago

Need to determine the clients IP address from the graphql headers on the graphql server, use that for geoLocation. This way the clients adblock wont block it.

rtman commented 4 years ago

https://stackoverflow.com/questions/19266329/node-js-get-clients-ip

rtman commented 4 years ago

apparently docker for mac loses the source IP, but in linux it doesnt.

https://www.reddit.com/r/docker/comments/a0wqft/how_to_get_real_ip_of_client_request/