[openstreetmap/openstreetmap-website] Add Turbo to replace custom JS (PR #4562)
Gregory Igelmund
notifications at github.com
Thu Mar 21 11:01:33 UTC 2024
@grekko commented on this pull request.
> @@ -2,6 +2,7 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1">
<%= javascript_include_tag "es6" unless browser.es6? %>
+ <%= javascript_include_tag "turbo", :type => "module" %>
Actually 🤔 thinking about it for another second: The change of replacing `csp_meta_tag` with `<meta name="csp-nonce" content="<%= content_security_policy_style_nonce %>" />` is only indirectly related to this PR, no?
So to keep the PR and its changeset smaller I'd like to move this change into a separate PR. Does that sounds right? @tomhughes
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/4562#discussion_r1533664226
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/4562/review/1951809237 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20240321/7af426e0/attachment-0001.htm>
More information about the rails-dev
mailing list