feat(ssulbox): 썰박스 상세에 공식 링크 오버레이 추가

This commit is contained in:
skkim committed 2026-08-24 13:45:16 +09:00
1 parent 3bcca23e97
commit 94b39a44bd
5 files changed
+63 -24

No files matched your search

+1 -10
View File
@@ -13,16 +13,7 @@ import {
import { VideoDetailItem, CommentItem, UserMeResponse } from '../types/api';
import { buildVideoShareUrl, tryNativeShare } from '../utils/nativeShare';
import LoginPromptModal from './LoginPromptModal';
const isSafeHttpUrl = (url?: string | null): boolean => {
if (!url) return false;
try {
const parsed = new URL(url);
return parsed.protocol === 'http:' || parsed.protocol === 'https:';
} catch {
return false;
}
};
import { isSafeHttpUrl } from '../utils/url';
interface VideoDetailContentProps {
videoId: string;