[openstreetmap/openstreetmap-website] Update embed.js.erb to use CDN test URLs (#2714)
Tom Hughes
notifications at github.com
Fri Jul 17 16:43:35 UTC 2020
@tomhughes requested changes 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],
I'd make this an override in the `embed` method of the export controller rather than enabling it globally.
--
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#pullrequestreview-450806132
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20200717/e44ab5b9/attachment.htm>
More information about the rails-dev
mailing list