diff --git a/src/libpoketube/init/pages-api.js b/src/libpoketube/init/pages-api.js index 01fcb3a8..70baba46 100644 --- a/src/libpoketube/init/pages-api.js +++ b/src/libpoketube/init/pages-api.js @@ -47,7 +47,7 @@ module.exports = function (app, config, renderTemplate) { }); app.get("/vi/:v/:t", async function (req, res) { - var url = `https://yt.sudovanilla.com/vi/${req.params.v}/${req.params.t}` + var url = `https://vid.theedgeofrage.com/vi/${req.params.v}/${req.params.t}` let f = await modules.fetch(url + `?cachefixer=${btoa(Date.now())}`, { method: req.method, @@ -58,7 +58,7 @@ module.exports = function (app, config, renderTemplate) { }); app.get("/avatars/:v", async function (req, res) { - var url = `https://yt.sudovanilla.com/ggpht/${req.params.v}`; + var url = `https://vid.theedgeofrage.com/ggpht/${req.params.v}`; let f = await modules.fetch(url + `?cachefixer=${btoa(Date.now())}`, { method: req.method, @@ -68,7 +68,7 @@ app.get("/avatars/:v", async function (req, res) { }); app.get("/avatars/ytc/:v", async function (req, res) { - var url = `https://yt.sudovanilla.com/ggpht/ytc/${req.params.v.replace("ytc", "")}`; + var url = `https://vid.theedgeofrage.com/ggpht/ytc/${req.params.v.replace("ytc", "")}`; let f = await modules.fetch(url + `?cachefixer=${btoa(Date.now())}`, { method: req.method,