logoalt Hacker News

kkm • today at 7:07 AM • 1 reply • view on HN

Really cool. I haven’t quite grasped what’s running in the browser vs on the server?

When doing curl ip-api.com it seems show Zurich / Switzerland as the exit, should it not be showing the ip of the user if it’s running in the browser?


Replies

dhon_ • today at 7:11 AM

The browser sandbox probably prevents network access so I suspect it would go through a websocket to the server

➕ show 2 replies