1
0
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:
Cadence Ember 2021-01-23 21:58:30 +13:00
parent 0424996e31
commit c284fdf268
No known key found for this signature in database
GPG Key ID: BC1C2C61CF521B17
2 changed files with 2 additions and 2 deletions

View File

@ -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 => {

View File

@ -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