[openstreetmap/openstreetmap-website] missing image on 404 page (#1241)

Mikkel Kirkgaard Nielsen notifications at github.com
Mon Jul 30 17:28:08 UTC 2018


The [static 404 page](https://www.openstreetmap.org/get_me_a_404) is still/again displaying a borken image because the [image path](https://www.openstreetmap.org/assets/osm_logo.png) gives another 404. Both image paths mentioned by @bennett-elder-gs above produce 404s, guess the files of the repository is not any longer mapped directly to HTTP resources.

I see the current logo on the frontpage uses https://www.openstreetmap.org/assets/osm_logo-012424ae3fa7f5d52cbc5b45fb87f234210be88bea7ef7d1dc2ebc757aa99946.svg. Quckly skimming [something about Rails and assets](https://guides.rubyonrails.org/asset_pipeline.html) seems to suggest that it ought to be possible to generate the correctly checksummed path during deployment and insert it into the html file.

The same btw. [applies for the 403 and 500 status pages](https://github.com/openstreetmap/openstreetmap-website/search?l=HTML&q=%2Fassets).

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/1241#issuecomment-408944480
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20180730/9dc310bf/attachment.html>


More information about the rails-dev mailing list