<p>The construction of urls in javascript files for images in the asset pipeline do not create correct URLs if the rails_port app is installed in a sub-directory on the server.</p>

<p>For example when running a branch of the rails_port in a subdirectory of ones home directory on the dev server like <a href="http://apmon.dev.openstreetmap.org/facebook-login">http://apmon.dev.openstreetmap.org/facebook-login</a> the javascript tries to load images from <a href="http://apmon.dev.openstreetmap.org/assets/">http://apmon.dev.openstreetmap.org/assets/</a> rather than <a href="http://apmon.dev.openstreetmap.org/facebook-login/assets">http://apmon.dev.openstreetmap.org/facebook-login/assets</a></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/364'>view it on GitHub</a>.<img src='https://github.com/notifications/beacon/uTRSc6ihLa7Shf84BpiOpm4y4UW79zWmZHTwv4p9Qs4xSb-_J0n5CUtr_Q94-_Rw.gif' height='1' width='1'></p>