feat: change aniwatch source to be the first source to check

This commit is contained in:
2024-10-27 08:40:42 -04:00
parent 5a4c44130f
commit 5ef3e8c970

View File

@@ -66,15 +66,15 @@ export function fetchEpisodes(
shouldRetry: boolean = false, shouldRetry: boolean = false,
) { ) {
return fetchFromMultipleSources([ return fetchFromMultipleSources([
() =>
import("./aniwatch").then(({ getEpisodesFromAniwatch }) =>
getEpisodesFromAniwatch(aniListId, shouldRetry),
),
() => getEpisodesFromAnify(env, aniListId), () => getEpisodesFromAnify(env, aniListId),
// () => // () =>
// import("./consumet").then(({ getEpisodesFromConsumet }) => // import("./consumet").then(({ getEpisodesFromConsumet }) =>
// getEpisodesFromConsumet(aniListId), // getEpisodesFromConsumet(aniListId),
// ), // ),
() =>
import("./aniwatch").then(({ getEpisodesFromAniwatch }) =>
getEpisodesFromAniwatch(aniListId, shouldRetry),
),
]); ]);
} }