Added correct URL

pull/3/head
Maik de Kruif 6 years ago
parent 2d8e8bc37e
commit 2f3f8e0d0e
  1. 9
      error/404.html

@ -226,7 +226,7 @@
</div> </div>
</div> </div>
<div class="explanation"> <div class="explanation">
<p>The requested URL <code>/sdfghbndfgh</code> was not found on this server. <span>That’s all we know.</span></p> <p>The requested URL <code id="request_url"></code> was not found on this server. <span>That’s all we know.</span></p>
</div> </div>
</div> </div>
<div class="robot"> <div class="robot">
@ -246,6 +246,13 @@
</svg> </svg>
</div> </div>
</div> </div>
<script>
window.onload = function() {
let wl = window.location.pathname;
let out = wl.replace(/&/g,'&amp;').replace(/</g,'&lt;').replace(/>/g,'&gt;');
document.getElementById("request_url").innerHTML = out;
}
</script>
</body> </body>
</html> </html>

Loading…
Cancel
Save