diff --git a/src/mocks/aniwatch/search.ts b/src/mocks/aniwatch/search.ts index 9895387..7d86667 100644 --- a/src/mocks/aniwatch/search.ts +++ b/src/mocks/aniwatch/search.ts @@ -2,7 +2,7 @@ import { HttpResponse, http } from "msw"; export function getAniwatchSearchResults() { return http.get( - "https://aniwatch.up.railway.app/anime/search", + "https://aniwatch.up.railway.app/api/v2/hianime/search", ({ request }) => { const query = new URL(request.url).searchParams.get("query"); diff --git a/src/mocks/aniwatch/sources.ts b/src/mocks/aniwatch/sources.ts index ad203a2..62f7e16 100644 --- a/src/mocks/aniwatch/sources.ts +++ b/src/mocks/aniwatch/sources.ts @@ -2,7 +2,7 @@ import { HttpResponse, http } from "msw"; export function getAniwatchSources() { return http.get( - "https://aniwatch.up.railway.app/anime/episode-srcs", + "https://aniwatch.up.railway.app/api/v2/hianime/episode/sources", ({ request }) => { const url = new URL(request.url); const id = url.searchParams.get("id");