mirror of
https://codeberg.org/ashley/poke.git
synced 2024-11-22 21:57:49 +01:00
fix ryd
This commit is contained in:
parent
5aaa683ea3
commit
c265878755
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,7 @@ class PokeTubeAPI {
|
|||
*/
|
||||
async _getEngagementData() {
|
||||
const apiUrl = `${DISLIKE_API}${this.videoId}`;
|
||||
const fallbackUrl = `https://p.poketube.fun/${apiUrl}`;
|
||||
const fallbackUrl = `https://returnyoutubedislikeapi.com/votes?videoId=${this.videoId}`;
|
||||
|
||||
try {
|
||||
const engagement = await fetch(apiUrl).then((res) => res.json());
|
||||
|
|
Loading…
Reference in a new issue