enhanced anime backend
This commit is contained in:
@@ -26,8 +26,8 @@ async function loadAnime() {
|
||||
}
|
||||
|
||||
const fetchUrl = extensionName
|
||||
? `/api/anime/${animeId}?ext=${extensionName}`
|
||||
: `/api/anime/${animeId}`;
|
||||
? `/api/anime/${animeId}?source=${extensionName}`
|
||||
: `/api/anime/${animeId}?source=anilist`;
|
||||
const res = await fetch(fetchUrl);
|
||||
const data = await res.json();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user