[openstreetmap/openstreetmap-website] Add Turbo to replace custom JS (PR #4562)

Gregory Igelmund notifications at github.com
Thu Mar 21 07:27:04 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" %>

ah! Now I can see it.

![SCR-20240321-hvcz](https://github.com/openstreetmap/openstreetmap-website/assets/28648/5a14104c-9e53-4589-a865-01af6a3179ce)

some questions :)

I see that the file is tracked in git. Is that `settings.yml` loaded in Production and `enforce_csp: false`?

---

I'll have a closer look at the error. My CSP knowledge is still limited. I'll have to do a bit of homework first.

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

Message ID: <openstreetmap/openstreetmap-website/pull/4562/review/1950945224 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20240321/6f78342c/attachment.htm>


More information about the rails-dev mailing list