From 1226bdaaf0a8a2c5d486b7e4fc8564c2309cffeb Mon Sep 17 00:00:00 2001 From: Ashley Date: Wed, 8 Nov 2023 17:08:37 +0000 Subject: [PATCH] fix these as well --- src/libpoketube/init/pages-api.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libpoketube/init/pages-api.js b/src/libpoketube/init/pages-api.js index 6efced09..1815785c 100644 --- a/src/libpoketube/init/pages-api.js +++ b/src/libpoketube/init/pages-api.js @@ -50,7 +50,7 @@ module.exports = function (app, config, renderTemplate) { }); app.get("/avatars/:v", async function (req, res) { - var url = `https://yt3.ggpht.com/${req.params.v}`; + var url = `https://yt.sudovanilla.com/ggpht/${req.params.v}`; let f = await modules.fetch(url + `?cachefixer=${btoa(Date.now())}`, { method: req.method, @@ -60,7 +60,7 @@ app.get("/avatars/:v", async function (req, res) { }); app.get("/avatars/ytc/:v", async function (req, res) { - var url = `https://yt3.ggpht.com/ytc/${req.params.v.replace("ytc", "")}`; + var url = `https://yt.sudovanilla.com/ggpht/ytc/${req.params.v.replace("ytc", "")}`; let f = await modules.fetch(url + `?cachefixer=${btoa(Date.now())}`, { method: req.method,