Update match function to manually specify media type

This commit is contained in:
2025-04-03 23:43:39 +02:00
parent a9cf03c176
commit 416fceba88
3 changed files with 23 additions and 7 deletions

View File

@ -9,7 +9,7 @@ export interface Match {
regex: RegExp[];
notice?: string;
match(match: RegExpMatchArray): Promise<string | null>;
match(match: RegExpMatchArray): Promise<string | { hls: string } | { native: string } | null>;
}
export const Doodstream: Match = {