mirror of
https://git.sr.ht/~cadence/cloudtube
synced 2024-12-22 13:07:00 +00:00
Switch to invidious.io
This commit is contained in:
parent
0424996e31
commit
c284fdf268
@ -3,7 +3,7 @@ const {request} = require("../utils/request")
|
||||
let globalList = []
|
||||
|
||||
function execute() {
|
||||
return request("https://instances.invidio.us/instances.json?sort_by=health").then(res => res.json()).then(list => {
|
||||
return request("https://api.invidious.io/instances.json?sort_by=health").then(res => res.json()).then(list => {
|
||||
list = list.filter(i => i[1].type === "https").map(i => i[1].uri)
|
||||
globalList = list
|
||||
}).catch(error => {
|
||||
|
@ -59,7 +59,7 @@ block content
|
||||
| Search
|
||||
//- button.border-look#share Share
|
||||
a(href=`https://www.youtube.com/watch?v=${video.videoId}#cloudtube`).border-look YouTube
|
||||
a(href=`https://invidio.us/watch?v=${video.videoId}`).border-look Invidious
|
||||
a(href=`https://invidious.io/watch?v=${video.videoId}`).border-look Invidious
|
||||
|
||||
.description!= video.descriptionHtml
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user