fix: update amvstrm url

This commit is contained in:
2024-08-18 16:08:28 -04:00
parent c88ef4dcc9
commit ec150f81ea
8 changed files with 72 additions and 77 deletions

View File

@@ -4,8 +4,8 @@ export async function fetchTitleFromAmvstrm(
aniListId: number,
): Promise<Title | undefined> {
return Promise.all([
fetch(`https://api-amvstrm.nyt92.eu.org/api/v2/info/${aniListId}`).then(
(res) => res.json<any>(),
fetch(`https://api.amvstr.me/api/v2/info/${aniListId}`).then((res) =>
res.json<any>(),
),
fetchMissingInformationFromAnify(aniListId).catch((err) => {
console.error("Failed to get missing information from Anify", err);