mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-28 01:53:25 +00:00
Link error page images absolutely, fixes image not found on eg. /page/not/found
This commit is contained in:
@@ -28,7 +28,7 @@
|
||||
<body>
|
||||
<!-- This file lives in public/404.html -->
|
||||
<div class="dialog">
|
||||
<a href="/" ><img src="404.jpg" /></a>
|
||||
<a href="/" ><img src="/404.jpg" /></a>
|
||||
<p>It seems the page you're looking for is in a grump.
|
||||
<br><h3><a class="go_home" href="/" >Return home</a></h3>
|
||||
</p>
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
<body>
|
||||
<!-- This file lives in public/422.html -->
|
||||
<div class="dialog">
|
||||
<a href="/" ><img src="422.jpg" /></a>
|
||||
<a href="/" ><img src="/422.jpg" /></a>
|
||||
<p>The change you wanted was rejected. Maybe you tried to change something you don't have access to.
|
||||
<br><h3><a class="go_home" href="/" >Return home</a></h3>
|
||||
</p>
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
<body>
|
||||
<!-- This file lives in public/500.html -->
|
||||
<div class="dialog">
|
||||
<a href="/" ><img src="500.jpg" /></a>
|
||||
<a href="/" ><img src="/500.jpg" /></a>
|
||||
<p>We're sorry, but something went wrong.
|
||||
<br>Try refreshing the page, or
|
||||
<br><h3><a class="go_home" href="/" >Return home</a></h3>
|
||||
|
||||
Reference in New Issue
Block a user