mirror of
https://github.com/p-stream/p-stream.git
synced 2026-03-11 17:55:33 +00:00
Update SetupPart.tsx
This commit is contained in:
parent
22ddddfe27
commit
bf8e250492
1 changed files with 3 additions and 3 deletions
|
|
@ -134,9 +134,9 @@ export async function testFebboxKey(febboxKey: string | null): Promise<Status> {
|
|||
continue;
|
||||
}
|
||||
|
||||
const isVIPLink = Object.values(data.streams).some((link: any) => {
|
||||
if (typeof link === "string") {
|
||||
return link.toLowerCase().includes("vip");
|
||||
const isVIPLink = Object.values(data.streams).some((stream: any) => {
|
||||
if (typeof stream === "object" && stream.download) {
|
||||
return stream.download.includes("/vip/");
|
||||
}
|
||||
return false;
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue