From bf8e250492fd63bb461f26da204c470ab491d036 Mon Sep 17 00:00:00 2001 From: Pas <74743263+Pasithea0@users.noreply.github.com> Date: Tue, 23 Dec 2025 10:20:34 -0700 Subject: [PATCH] Update SetupPart.tsx --- src/pages/parts/settings/SetupPart.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/pages/parts/settings/SetupPart.tsx b/src/pages/parts/settings/SetupPart.tsx index 897ca4ef..4ec346e3 100644 --- a/src/pages/parts/settings/SetupPart.tsx +++ b/src/pages/parts/settings/SetupPart.tsx @@ -134,9 +134,9 @@ export async function testFebboxKey(febboxKey: string | null): Promise { 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; });