Skip to content
This repository has been archived by the owner on Aug 26, 2023. It is now read-only.

Commit

Permalink
best
Browse files Browse the repository at this point in the history
  • Loading branch information
big cock committed Aug 20, 2023
1 parent bde26f5 commit 2ab4570
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/pages/img.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -85,20 +85,20 @@
<div class="card-body">
<h1><%=name%></h1>
<% if(ext.includes('.txt' || '.md' || '.css' || '.exe' || '.html' ||
'.mp4' || '.heic' )){ %>
'.mp4' || '.heic', '.json' )){ %>
<meta
http-equiv="Refresh"
content="0; url='/api/content/raw/<%=name%>'"
/>
<% } %>
<a
style="text-decoration: none; color: grey"
style="text-decoration: none; color: whie"
href="/api/content/raw/<%=name%>"
target="_blank"
>
<img
src="/api/content/raw/<%=name%>"
alt="Click here to download/open the file."
alt="Cannot preview this file in the browser, click here to open."
/>
</a>
<br />
Expand Down

0 comments on commit 2ab4570

Please sign in to comment.