[openstreetmap/openstreetmap-website] Update embed.js.erb to use CDN test URLs (#2714)

Tom Hughes notifications at github.com
Fri Jul 17 16:46:56 UTC 2020


@tomhughes commented on this pull request.



> @@ -7,7 +7,7 @@
   :form_action => %w['self'],
   :frame_ancestors => %w['self'],
   :frame_src => %w['self'],
-  :img_src => %w['self' data: www.gravatar.com *.wp.com tile.openstreetmap.org *.tile.openstreetmap.org *.tile.thunderforest.com tileserver.memomaps.de *.openstreetmap.fr],
+  :img_src => %w['self' data: www.gravatar.com *.wp.com tile.openstreetmap.org *.tile.openstreetmap.org *.tile.thunderforest.com tileserver.memomaps.de *.openstreetmap.fr *.global.ssl.fastly.net],

Well there is already an override there, it just needs an `img_src` rule adding. You can just add that one source and it will be merged with the global list.

-- 
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/2714#discussion_r456556418
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20200717/0bbae28f/attachment.htm>


More information about the rails-dev mailing list