From c284fdf2688cf6d4c4c0cebdcf5d6ea51e9413ac Mon Sep 17 00:00:00 2001 From: Cadence Ember Date: Sat, 23 Jan 2021 21:58:30 +1300 Subject: [PATCH] Switch to invidious.io --- background/instances.js | 2 +- pug/video.pug | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/background/instances.js b/background/instances.js index 620fbe6..e27dd6a 100644 --- a/background/instances.js +++ b/background/instances.js @@ -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 => { diff --git a/pug/video.pug b/pug/video.pug index 4a38c2c..15d2781 100644 --- a/pug/video.pug +++ b/pug/video.pug @@ -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