NotHtmlMimetype error handling

This commit is contained in:
DarkCat09
2023-09-21 13:18:12 +04:00
parent e6b61fb814
commit 1fc1d8e88b
4 changed files with 32 additions and 19 deletions

View File

@ -15,6 +15,14 @@
<h1>txt<span class="dot-err">.</span></h1>
<p class="menu">
<a href="/" class="button">Home</a>
<% if (proxyBtn) { %>
<a
href="/proxy?url=<%= encodeURIComponent(url) %>"
class="button secondary"
>
Proxy
</a>
<% } %>
<a href="<%= url %>" class="button secondary">Original page</a>
</p>
<p><%= description %></p>