feat: change amvstrm to point to self hosted instance
This commit is contained in:
@@ -4,8 +4,8 @@ export async function fetchTitleFromAmvstrm(
|
||||
aniListId: number,
|
||||
): Promise<Title | undefined> {
|
||||
return Promise.all([
|
||||
fetch(`https://api.amvstr.me/api/v2/info/${aniListId}`).then((res) =>
|
||||
res.json<any>(),
|
||||
fetch(`https://amvstrm.up.railway.app/api/v2/info/${aniListId}`).then(
|
||||
(res) => res.json<any>(),
|
||||
),
|
||||
fetchMissingInformationFromAnify(aniListId).catch((err) => {
|
||||
console.error("Failed to get missing information from Anify", err);
|
||||
|
||||
Reference in New Issue
Block a user