your personal website on atproto - mirror blento.app

small fix

Florian 21d6d58d 916f6626

+1 -1
+1 -1
src/lib/cards/BigSocialCard/index.ts
··· 175 175 176 176 export function detectPlatform(url: string): string | null { 177 177 for (const [platform, pattern] of Object.entries(platformPatterns)) { 178 - if (pattern.test(url)) { 178 + if (pattern.test(url) && platformsData[platform]) { 179 179 return platform; 180 180 } 181 181 }