1
0
Fork 0
mirror of https://codeberg.org/ashley/poke.git synced 2024-11-17 01:14:38 -05:00

change api url :3

This commit is contained in:
Ashley 2023-03-09 15:51:54 +00:00
parent eedbfa5e6d
commit cf0301c902

View file

@ -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));