mirror of
https://codeberg.org/ashley/poke.git
synced 2024-12-25 19:28:40 +01:00
add the thingy
This commit is contained in:
parent
1104b15795
commit
410b39badf
1 changed files with 2 additions and 1 deletions
|
@ -10,6 +10,7 @@ const { toJson } = require("xml2json");
|
|||
const { curly } = require("node-libcurl");
|
||||
const getdislikes = require("../libpoketube/libpoketube-dislikes.js");
|
||||
const getColors = require("get-image-colors");
|
||||
const config = require("../../config.json")
|
||||
|
||||
/**
|
||||
* Class representing PokeTube's core functionality.
|
||||
|
@ -174,7 +175,7 @@ class InnerTubePokeVidious {
|
|||
const pokeTubeApiCore = new InnerTubePokeVidious({
|
||||
tubeApi: "https://inner-api.poketube.fun/api/",
|
||||
invapi: "https://invid-api.poketube.fun/api/v1",
|
||||
invapi_alt: "https://iv.ggtyler.dev/api/v1",
|
||||
invapi_alt: config.proxylocation === "EU" ? "https://invid-api.poketube.fun/api/v1" : "https://iv.ggtyler.dev/api/v1",
|
||||
dislikes: "https://returnyoutubedislikeapi.com/votes?videoId=",
|
||||
t_url: "https://t.poketube.fun/",
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue