diff --git a/studio/frontend/src/features/tour/components/read-more.tsx b/studio/frontend/src/features/tour/components/read-more.tsx index 77680a869c..13210c7723 100644 --- a/studio/frontend/src/features/tour/components/read-more.tsx +++ b/studio/frontend/src/features/tour/components/read-more.tsx @@ -1,10 +1,15 @@ // SPDX-License-Identifier: AGPL-3.0-only // Copyright 2026-present the Unsloth AI Inc. team. All rights reserved. See /studio/LICENSE.AGPL-3.0 +const EXTERNAL_URL_RE = /^https?:\/\//; + export function ReadMore({ href = "#" }: { href?: string }) { + const isExternal = EXTERNAL_URL_RE.test(href); return ( { if (href === "#") e.preventDefault(); }}