enhanced anime backend

This commit is contained in:
2025-12-04 00:30:41 +01:00
parent bf27d173e9
commit 6973f1485d
10 changed files with 205 additions and 112 deletions

View File

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