publicmap / electionmap

Electoral map tool
https://www.electionmap.in
MIT License
16 stars 10 forks source link

Some way to test navigator geolocation locally? #25

Closed batpad closed 5 years ago

batpad commented 5 years ago

Not a huge deal, but not being able to test this locally because of no https is a little bit irritating - just keeping this issue in case someone finds a way and wants to drop notes here.

@SrihariThalla

batpad commented 5 years ago

Haha, turns out this is pretty easy - the browser makes an exception to the https rule if you are accessing the URL as localhost --

so just accessing http://localhost:9969 or so rather than http://192.168.1.7:9969 or however should work 👍