[openstreetmap/openstreetmap-website] Use fetch() instead of iframe to make remote control requests (PR #5375)

Anton Khorev notifications at github.com
Wed Dec 4 09:37:20 UTC 2024


An alternative to #3760.

Uses no-cors mode https://github.com/openstreetmap/openstreetmap-website/pull/3760#issuecomment-1290363544 which should work with Potlatch. Requires a browser that is not too old (probably 5 years old max).
You can view, comment on, or merge this pull request online at:

  https://github.com/openstreetmap/openstreetmap-website/pull/5375

-- Commit Summary --

  * Use fetch() instead of iframe to make remote control requests

-- File Changes --

    M app/assets/javascripts/index.js (18)
    M app/controllers/application_controller.rb (4)

-- Patch Links --

https://github.com/openstreetmap/openstreetmap-website/pull/5375.patch
https://github.com/openstreetmap/openstreetmap-website/pull/5375.diff

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/5375
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/pull/5375 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20241204/13cf7090/attachment.htm>


More information about the rails-dev mailing list