feat: change amvstrm to point to self hosted instance
This commit is contained in:
@@ -3,7 +3,9 @@ import type { FetchUrlResponse } from "./responseType";
|
||||
export async function getSourcesFromAmvstrm(
|
||||
watchId: string,
|
||||
): Promise<FetchUrlResponse | null> {
|
||||
const source = await fetch(`https://api.amvstr.me/api/v2/stream/${watchId}`)
|
||||
const source = await fetch(
|
||||
`https://amvstrm.up.railway.app/api/v2/stream/${watchId}`,
|
||||
)
|
||||
.then((res) => res.json<AmvstrmStreamResponse>())
|
||||
.then(({ stream }) => {
|
||||
const streamObj = stream?.multi;
|
||||
|
||||
Reference in New Issue
Block a user