From 798688d1055794b8cbb0e1de98aeec9b81335ba2 Mon Sep 17 00:00:00 2001 From: ashley Date: Sun, 14 Jul 2024 11:00:19 +0000 Subject: [PATCH] use the api key --- 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 a0804a76..5b78e347 100644 --- a/src/libpoketube/init/pages-api.js +++ b/src/libpoketube/init/pages-api.js @@ -196,7 +196,7 @@ app.use("/sb/i/:v/:imagePath/:img", async function (req, res) { app.get("/api/improving-poke/getsugesstions", async (req, res) => { const query = req.query.q; - let url = `https://invid-api.poketube.fun/api/v1/search/suggestions?q=${query}`; + let url = `https://invid-api.poketube.fun/bHj665PpYhUdPWuKPfZuQGoX/api/v1/search/suggestions?q=${query}`; let f = await modules.fetch(url, { method: req.method, @@ -227,7 +227,7 @@ app.use("/sb/i/:v/:imagePath/:img", async function (req, res) { let latestCommitHash; const invidious = await modules - .fetch("https://invid-api.poketube.fun/api/v1/stats") + .fetch("https://invid-api.poketube.fun/bHj665PpYhUdPWuKPfZuQGoX/api/v1/stats") .then((res) => res.text()) .then((txt) => getJson(txt));