Skip to content

Commit 1e44394

Browse files
authored
Reverting facebook redirect fix
I didn't mean to put this in the same PR. My mistake.
1 parent 1a425e0 commit 1e44394

File tree

1 file changed

+0
-19
lines changed

1 file changed

+0
-19
lines changed

src/Http/Redirects.php

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -13,26 +13,7 @@ abstract class Redirects
1313
'hashBang' => '*#!*',
1414
'spotify' => 'play.spotify.com/*',
1515
'tumblr' => 't.umblr.com/redirect',
16-
'facebook' => 'www.facebook.com/login/*',
1716
];
18-
19-
/**
20-
* Resolve the url redirection.
21-
*
22-
* @param Url $url
23-
*
24-
* @return Url
25-
*/
26-
public static function resolve(Url $url)
27-
{
28-
foreach (self::$patterns as $method => $pattern) {
29-
if ($url->match($pattern)) {
30-
return self::$method($url);
31-
}
32-
}
33-
34-
return $url;
35-
}
3617

3718
/**
3819
* Resolve a facebook redirection url.

0 commit comments

Comments
 (0)