[openstreetmap/openstreetmap-website] Avoid using jsonp for GraphHopper (#1872)
Tom Hughes
notifications at github.com
Thu May 17 18:43:36 UTC 2018
Well as far as I know we were only using jsonp because XHR wasn't possible - we certainly prefer not to use it. Is there a suitable cross domain policy in place that will allow access?
Also you will need to update https://github.com/openstreetmap/openstreetmap-website/blob/master/app/controllers/application_controller.rb#L411 to move graphopper from `script_src` to `connect_src`.
--
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/pull/1872#issuecomment-389968449
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20180517/2af01faf/attachment-0001.html>
More information about the rails-dev
mailing list