feat: change amvstrm to point to self hosted instance
This commit is contained in:
@@ -4,7 +4,7 @@ export async function fetchSearchResultsFromAmvstrm(
|
||||
limit: number,
|
||||
) {
|
||||
return fetch(
|
||||
`https://api.amvstr.me/api/v2/search?q=${query}&p=${page}&limit=${limit}`,
|
||||
`https://amvstrm.up.railway.app/api/v2/search?q=${query}&p=${page}&limit=${limit}`,
|
||||
)
|
||||
.then((res) => res.json<any>())
|
||||
.then(({ pageInfo: { hasNextPage }, results }) => ({
|
||||
|
||||
Reference in New Issue
Block a user