Skip to content

Commit

Permalink
Merge pull request #363 from rsanzante/v2.x
Browse files Browse the repository at this point in the history
Add Twitter pattern without subdomain.
  • Loading branch information
oscarotero authored Jun 2, 2020
2 parents eb05178 + bc81986 commit c6b1979
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Providers/OEmbed/Twitter.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ public static function getEndPoint(Url $url)
*/
public static function getPatterns()
{
return ['https?://*.twitter.com/*'];
return ['https?://*.twitter.com/*', 'https?://twitter.com/*'];
}

}

0 comments on commit c6b1979

Please sign in to comment.