<p></p>
<p><b>@CommanderStorm</b> commented on this pull request.</p>

<p dir="auto">I am having a bit of trouble with the asset system that I did no have when I was <a href="https://github.com/OpenHistoricalMap/ohm-website/pull/339" data-hovercard-type="pull_request" data-hovercard-url="/OpenHistoricalMap/ohm-website/pull/339/hovercard">doing the PR for OHM</a>.<br>
There seems to be a diff, but I have no clue which part of the diff is the relevant part</p><hr>

<p>In <a href="https://github.com/openstreetmap/openstreetmap-website/pull/6504#discussion_r2498427374">app/views/layouts/_head.html.erb</a>:</p>
<pre style='color:#555'>> @@ -10,6 +10,7 @@
   <% end %>
   <%= stylesheet_link_tag "print-#{dir}", :media => "print" %>
   <%= stylesheet_link_tag "leaflet-all", :media => "screen, print" %>
+  <link href="https://unpkg.com/maplibre-gl@^5.11.0/dist/maplibre-gl.css" rel="stylesheet" />
</pre>
<p dir="auto"><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/pablobm/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/pablobm">@pablobm</a><br>
I am taking your comment as an OK to ask you questions.</p>
<p dir="auto">I have a bit of trouble with this system and have no clue how to fix it.<br>
THis right here obviously is not production quality and needs to be fixed before the PR can move into review.</p>
<p dir="auto"><strong>How do I do this in the rails?</strong></p>
<p dir="auto">I have already tried adding below lines, but that does not seem the way to handle this:</p>
<p dir="auto"><a href="https://github.com/OpenHistoricalMap/ohm-website/blob/3806c1b5c294e0656ee82cc5840ddccde67068dd/config/initializers/assets.rb#L22">https://github.com/OpenHistoricalMap/ohm-website/blob/3806c1b5c294e0656ee82cc5840ddccde67068dd/config/initializers/assets.rb#L22</a></p>
<p dir="auto"><a href="https://github.com/OpenHistoricalMap/ohm-website/blob/3806c1b5c294e0656ee82cc5840ddccde67068dd/app/views/layouts/_head.html.erb#L16">https://github.com/OpenHistoricalMap/ohm-website/blob/3806c1b5c294e0656ee82cc5840ddccde67068dd/app/views/layouts/_head.html.erb#L16</a></p>
<p dir="auto">The error that this is causing is the following:</p>
<a href="https://github.com/user-attachments/assets/d6a48f44-ec7d-424b-8126-ddcdf6e6cdd0">image.png (view on web)</a>

<hr>

<p>In <a href="https://github.com/openstreetmap/openstreetmap-website/pull/6504#discussion_r2498435735">app/assets/javascripts/dashboard.js</a>:</p>
<pre style='color:#555'>> +            "tiles": [
+              "https://tile.openstreetmap.org/{z}/{x}/{y}.png"
+            ],
+            "tileSize": 256,
+            "maxzoom": 19,
+            "attribution": "© OpenStreetMap contributors"
+          }
+        },
+        "layers": [
+          {
+            "id": "osm",
+            "type": "raster",
+            "source": "osm",
+          }
+        ],
+        "projection": { "type": "globe" },
</pre>
<p dir="auto">The globe is the only only thing which should be not precicely as before for users.</p>
<p dir="auto">If osm prefers a flat eath (pun intended), this can be removed to use webmercator instead</p>
⬇️ Suggested change
<pre style="color: #555">-        "projection": { "type": "globe" },
</pre>


<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />Reply to this email directly, <a href="https://github.com/openstreetmap/openstreetmap-website/pull/6504#pullrequestreview-3427453982">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLPOTSEWT6CNWCLFMUT33MRP5AVCNFSM6AAAAACLKBT5BCVHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMZTIMRXGQ2TGOJYGI">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAK2OLMJPN6HO3JCAJRAMF333MRP5A5CNFSM6AAAAACLKBT5BCWGG33NNVSW45C7OR4XAZNRKB2WY3CSMVYXKZLTORJGK5TJMV32UY3PNVWWK3TUL5UWJTWMJLGB4.gif" height="1" width="1" alt="" /><span style="color: transparent; font-size: 0; display: none; visibility: hidden; overflow: hidden; opacity: 0; width: 0; height: 0; max-width: 0; max-height: 0; mso-hide: all">Message ID: <span><openstreetmap/openstreetmap-website/pull/6504/review/3427453982</span><span>@</span><span>github</span><span>.</span><span>com></span></span></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/openstreetmap/openstreetmap-website/pull/6504#pullrequestreview-3427453982",
"url": "https://github.com/openstreetmap/openstreetmap-website/pull/6504#pullrequestreview-3427453982",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>