saucelabs/the-internet

Geolocation button: getCurrentPosition() and watchPosition() no longer work on insecure origins.

darrylwhiting opened this issue · 2 comments

getCurrentPosition() and watchPosition() no longer work on insecure origins. To use this feature, you should consider switching your application to a secure origin, such as HTTPS. See https://goo.gl/rStTGz for more details.

http://the-internet.herokuapp.com/geolocation:46

Ah, interesting. Thanks for letting me know! I'll look into it.

There is only one solution - switch to https. For example, like this: https://medium.com/@franxyzxyz/setting-up-free-https-with-heroku-ssl-and-lets-encrypt-80cf6eac108e