mirror of
https://codeberg.org/ashley/poke.git
synced 2024-11-22 19:58:00 +01:00
error msg good
This commit is contained in:
parent
874bf92034
commit
f9ec7822dc
1 changed files with 24 additions and 4 deletions
|
@ -135,6 +135,7 @@ border-radius: 5px;
|
|||
</div>
|
||||
<div class="channel-page" style="background-color: var(--channel-contents-background);">
|
||||
|
||||
<% if (Array.isArray( j.Search.Results.Video)) { %>
|
||||
|
||||
<% j.Search.Results.Video.forEach(x => { %>
|
||||
<div class="video-list">
|
||||
|
@ -155,13 +156,32 @@ border-radius: 5px;
|
|||
</div>
|
||||
|
||||
</div>
|
||||
<% }) %>
|
||||
<p style="background-color: #353030;width: fit-content;border-radius: 3px;padding: 4px;">
|
||||
Congratulations, you've reached the end of the internet kekw
|
||||
<div></div></p>
|
||||
<% }) %>
|
||||
<% } %>
|
||||
<% if (!Array.isArray( j.Search.Results.Video)) { %>
|
||||
<br>
|
||||
<h1 style="font-family:'Ginto nord';font-weight:900;white-space:yes;">
|
||||
<img src="https://p.poketube.fun/https://external-content.duckduckgo.com/iu/?u=https%3A%2F%2Ftse2.explicit.bing.net%2Fth%3Fid%3DOIP.GUMY7MavfJyrfhjKbPKB9wHaDt%26pid%3DApi&f=1">
|
||||
</h1>
|
||||
<p>A error occured while searching. perhaps try refresing the page lol</p>
|
||||
<p>
|
||||
You can try other alternatives to access this resource such as:
|
||||
<b>
|
||||
<a href="https://invidio.us/results?q=<%=q%>">Invidious</a>
|
||||
</b>
|
||||
or
|
||||
<b>
|
||||
<a href="https://tube.kuylar.dev/results?search_query=<%=q%>">lighttube</a>
|
||||
</b>
|
||||
</p>
|
||||
<% } %>
|
||||
|
||||
|
||||
</a>
|
||||
</div>
|
||||
</body>
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue