mirror of
https://codeberg.org/ashley/poke.git
synced 2024-11-10 10:38:25 +01:00
change class names :3
This commit is contained in:
parent
c49248a0a0
commit
6b701a09da
1 changed files with 3 additions and 3 deletions
|
@ -131,7 +131,7 @@ class PokeTubeCore {
|
||||||
// Store result in cache
|
// Store result in cache
|
||||||
this.cache[v] = {
|
this.cache[v] = {
|
||||||
result: {
|
result: {
|
||||||
json: fe?.video?.Player,
|
json: json?.video,
|
||||||
video,
|
video,
|
||||||
vid,
|
vid,
|
||||||
comments,
|
comments,
|
||||||
|
@ -179,11 +179,11 @@ class PokeTubeCore {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Create an instance of PokeTubeCore with the provided config
|
// Create an instance of PokeTubeCore with the provided config
|
||||||
const pokeTubeCore = new PokeTubeCore({
|
const pokeTubeApiCore = new PokeTubeCore({
|
||||||
tubeApi: "https://inner-api.poketube.fun/api/",
|
tubeApi: "https://inner-api.poketube.fun/api/",
|
||||||
invapi: "https://invid-api.poketube.fun/api/v1",
|
invapi: "https://invid-api.poketube.fun/api/v1",
|
||||||
dislikes: "https://returnyoutubedislikeapi.com/votes?videoId=",
|
dislikes: "https://returnyoutubedislikeapi.com/votes?videoId=",
|
||||||
t_url: "https://t.poketube.fun/",
|
t_url: "https://t.poketube.fun/",
|
||||||
});
|
});
|
||||||
|
|
||||||
module.exports = pokeTubeCore;
|
module.exports = pokeTubeApiCore;
|
||||||
|
|
Loading…
Reference in a new issue