mirror of
https://gitea.invidious.io/iv-org/invidious-redirect.git
synced 2024-08-15 00:53:24 +00:00
Merge pull request #28 from iv-org/update-static-list
Update static instances list
This commit is contained in:
commit
029859082e
2 changed files with 20 additions and 14 deletions
|
@ -37,12 +37,13 @@ html(lang="en")
|
|||
table
|
||||
thead
|
||||
tr
|
||||
th(scope="col") Region
|
||||
th(scope="col") Domain
|
||||
th(scope="col") Health
|
||||
th(scope="col") Action
|
||||
tbody#instances-tbody
|
||||
tr.loading
|
||||
td(colspan="3" data-loading-message="Loading instances...").loading-td Trying to run scripts...
|
||||
td(colspan="4" data-loading-message="Loading instances...").loading-td Trying to run scripts...
|
||||
|
||||
noscript
|
||||
.instances-list
|
||||
|
@ -50,20 +51,24 @@ html(lang="en")
|
|||
ul.list
|
||||
-
|
||||
const instances = [
|
||||
"invidious.snopyta.org",
|
||||
"yewtu.be",
|
||||
"invidious.kavin.rocks",
|
||||
"invidious-us.kavin.rocks",
|
||||
"invidious-jp.kavin.rocks",
|
||||
"vid.puffyan.us",
|
||||
"invidious.namazso.eu",
|
||||
"inv.riverside.rocks",
|
||||
"vid.mint.lgbt",
|
||||
"invidious.osi.kr",
|
||||
"invidio.xamh.de",
|
||||
"yt.artemislena.eu",
|
||||
{url: "yewtu.be", flag: "🇳🇱"},
|
||||
{url: "vid.puffyan.us", flag: "🇺🇸"},
|
||||
{url: "invidious.flokinet.to", flag: "🇷🇴"},
|
||||
{url: "invidious.projectsegfau.lt", flag: "🇫🇷"},
|
||||
{url: "inv.bp.projectsegfau.lt", flag: "🇱🇺"},
|
||||
{url: "inv.in.projectsegfau.lt", flag: "🇮🇳"},
|
||||
{url: "invidious.tiekoetter.com", flag: "🇩🇪"},
|
||||
{url: "invidious.slipfox.xyz", flag: "🇺🇸"},
|
||||
{url: "invidious.privacydev.net", flag: "🇫🇷"},
|
||||
{url: "vid.priv.au", flag: "🇸🇬"},
|
||||
{url: "iv.ggtyler.dev", flag: "🇨🇦"},
|
||||
{url: "invidious.0011.lt", flag: "🇱🇹"},
|
||||
{url: "inv.zzls.xyz", flag: "🇨🇱"},
|
||||
{url: "invidious.protokolla.fi", flag: "🇫🇮"},
|
||||
]
|
||||
for instance in instances
|
||||
li: a(href=`https://${instance}`)= instance
|
||||
li
|
||||
= `${instance.flag} `
|
||||
a(href=`https://${instance.url}`)= instance.url
|
||||
|
||||
include footer.pug
|
||||
|
|
|
@ -65,6 +65,7 @@
|
|||
const health = entry.healthKnown ? entry.health.toFixed(0) : "(unknown)"
|
||||
q("#instances-tbody").appendChild(
|
||||
createElement("tr", {}, [
|
||||
createElement("td", {textContent: `${entry.details.flag} ${entry.details.region}`}),
|
||||
createElement("td", {textContent: entry.name}),
|
||||
createElement("td", {className: "column-center "+healthUnknown, textContent: health}),
|
||||
createElement("td", {className: "column-center"}, [
|
||||
|
|
Loading…
Reference in a new issue