Skip to content

Commit 213e33a

Browse files
committed
fix: twitter must resolve x links
1 parent 5772c21 commit 213e33a

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/constants/social-links.ts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,13 @@ export const SOCIAL_LINKS: Record<SocialLink, SocialLinkConfig> = {
2525
endsWith: ".spotify.com",
2626
},
2727
twitter: {
28-
validDomains: ["twitter.com", "www.twitter.com", "m.twitter.com"],
28+
validDomains: [
29+
"twitter.com",
30+
"www.twitter.com",
31+
"m.twitter.com",
32+
"x.com",
33+
"www.x.com",
34+
],
2935
endsWith: ".twitter.com",
3036
},
3137
youtube: {

0 commit comments

Comments
 (0)