From bc819861a6fa6ab6c2faa38be460891dd0aa0228 Mon Sep 17 00:00:00 2001 From: Ricardo Sanz Date: Tue, 2 Jun 2020 16:11:51 +0200 Subject: [PATCH] Add Twitter pattern without subdomain. --- src/Providers/OEmbed/Twitter.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Providers/OEmbed/Twitter.php b/src/Providers/OEmbed/Twitter.php index 0d4e88ea..c66e46eb 100644 --- a/src/Providers/OEmbed/Twitter.php +++ b/src/Providers/OEmbed/Twitter.php @@ -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/*']; } + }