Skip to content

Commit c6b1979

Browse files
authored
Merge pull request #363 from rsanzante/v2.x
Add Twitter pattern without subdomain.
2 parents eb05178 + bc81986 commit c6b1979

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Providers/OEmbed/Twitter.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ public static function getEndPoint(Url $url)
1919
*/
2020
public static function getPatterns()
2121
{
22-
return ['https?://*.twitter.com/*'];
22+
return ['https?://*.twitter.com/*', 'https?://twitter.com/*'];
2323
}
24+
2425
}

0 commit comments

Comments
 (0)