[openstreetmap/openstreetmap-website] Geolocation fails when not using https on Chrome (#1493)
Štefan Baebler
notifications at github.com
Wed Nov 1 09:01:59 UTC 2017
Related upstream ticket: https://github.com/domoritz/leaflet-locatecontrol/issues/160
A possible workaround could be to make the button behave differently on non-https connections, namely to
* redirect to HTTPS
* add a parameter (in URL or a short-living cookie) to start geolocation immediately after the HTTPS variant loads
This would make the button work seamlessly even on http.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/1493#issuecomment-341041029
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20171101/9eddede2/attachment.html>
More information about the rails-dev
mailing list