mirror of
https://codeberg.org/ashley/poke
synced 2025-05-28 18:19:43 +00:00
Update html/layouts/error-video.ejs
This commit is contained in:
parent
afa738f8c2
commit
5ab4cc30a5
@ -85,7 +85,7 @@
|
||||
}
|
||||
</style>
|
||||
|
||||
<% if (description == "Error while communicating with Invidious companion: Error connecting to 'companion:8282': Connection refused") { %>
|
||||
<% if (description == "Poke is Switching VPN location right now - we dont know how long it will gonna take tho - it can be 10 minutes or 1 hour, its gonna retry until it founds a working server.") { %>
|
||||
<script>
|
||||
let seconds = 10;
|
||||
function updateCountdown() {
|
||||
@ -105,7 +105,7 @@
|
||||
<% } %>
|
||||
</head>
|
||||
<body>
|
||||
<% if (description == "Error while communicating with Invidious companion: Error connecting to 'companion:8282': Connection refused") { %>
|
||||
<% if (description == "Poke is Switching VPN location right now - we dont know how long it will gonna take tho - it can be 10 minutes or 1 hour, its gonna retry until it founds a working server.") { %>
|
||||
<p id="abstract">502</p>
|
||||
<% } else { %>
|
||||
<p id="abstract">404</p>
|
||||
@ -114,7 +114,7 @@
|
||||
<div class="error">
|
||||
<h2><%= error %></h2>
|
||||
<p><%= description %></p>
|
||||
<% if (description == "Error while communicating with Invidious companion: Error connecting to 'companion:8282': Connection refused") { %>
|
||||
<% if (description == "Poke is Switching VPN location right now - we dont know how long it will gonna take tho - it can be 10 minutes or 1 hour, its gonna retry until it founds a working server.") { %>
|
||||
<div class="countdown" id="countdown">Trying again in 10 seconds...</div>
|
||||
<% } %>
|
||||
</div>
|
||||
@ -122,7 +122,7 @@
|
||||
<div class="error-footer">
|
||||
<a href="https://codeberg.org/ashley/poke/issues/new/choose">Create issue</a>
|
||||
<a href="https://discord.poketube.fun">Report on our Discord</a>
|
||||
<% if (description == "Error while communicating with Invidious companion: Error connecting to 'companion:8282': Connection refused") { %>
|
||||
<% if (description == "Poke is Switching VPN location right now - we dont know how long it will gonna take tho - it can be 10 minutes or 1 hour, its gonna retry until it founds a working server.") { %>
|
||||
<a href="https://github.com/iv-org/invidious/issues">See Invidious issues</a>
|
||||
<a href="">Refresh Page</a>
|
||||
<% } %>
|
||||
|
Loading…
x
Reference in New Issue
Block a user