<p>I’ve got a local instance of openstreetmap-website working and also just got a local tileserver working with a partial extract of the whole planet (a section of NJ)</p>
<p>I’d like to switch the osm website code to use my local tileserver however it appears to be hard-coded into several of the javascript libraries — example: vendor/leaflet/leaflet.osm.js and vendor/assets/iD/imagery.js<br>
Is there a way to change all these references using the server_url value in config/application.yml?</p>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href="https://github.com/openstreetmap/openstreetmap-website/issues/949">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/ABWnLaHNrbZGeW1Bvm3oAfd1p0gGvllRks5n_MRDgaJpZM4EACnt.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
<link itemprop="url" href="https://github.com/openstreetmap/openstreetmap-website/issues/949"></link>
<meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>