From 2a40e78a2d1bcaf39c5db5067599ba67f9a28369 Mon Sep 17 00:00:00 2001 From: Ashley Date: Thu, 9 Mar 2023 15:51:54 +0000 Subject: [PATCH] change api url :3 --- 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 3e49442a..7cd1419b 100644 --- a/src/libpoketube/init/pages-api.js +++ b/src/libpoketube/init/pages-api.js @@ -103,7 +103,7 @@ module.exports = function (app, config, renderTemplate) { const id = req.query.v; const l = req.query.h; - let url = `https://tube-srv.ashley143.gay/proxy/caption/${id}/${l}/`; + let url = `https://inner-api.poketube.fun/proxy/caption/${id}/${l}/`; let f = await modules.fetch(url); const body = await f.text(); @@ -135,7 +135,7 @@ module.exports = function (app, config, renderTemplate) { app.get("/api/version.json", async (req, res) => { const invidious = await modules - .fetch("https://inv-api.poketube.fun/api/v1/stats") + .fetch("https://invid-api.poketube.fun/api/v1/stats") .then((res) => res.text()) .then((txt) => getJson(txt));