From a40cc2175e9b7bc6c409f2f0577016e6f00d98d9 Mon Sep 17 00:00:00 2001 From: abearxiong Date: Wed, 11 Mar 2026 03:09:52 +0800 Subject: [PATCH] fix --- src/pages/repos/modules/WorkspaceDetailDialog.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/repos/modules/WorkspaceDetailDialog.tsx b/src/pages/repos/modules/WorkspaceDetailDialog.tsx index 6da64dd..696ac0a 100644 --- a/src/pages/repos/modules/WorkspaceDetailDialog.tsx +++ b/src/pages/repos/modules/WorkspaceDetailDialog.tsx @@ -49,7 +49,7 @@ const LinkItem = ({ label, icon, url }: { label: string; icon: React.ReactNode; copy() return; } - if (url && url.startsWith('http')) { + if (url && url.includes(':')) { window.open(url, '_blank') } }