We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1a425e0 commit 1e44394Copy full SHA for 1e44394
src/Http/Redirects.php
@@ -13,26 +13,7 @@ abstract class Redirects
13
'hashBang' => '*#!*',
14
'spotify' => 'play.spotify.com/*',
15
'tumblr' => 't.umblr.com/redirect',
16
- 'facebook' => 'www.facebook.com/login/*',
17
];
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
36
37
/**
38
* Resolve a facebook redirection url.
0 commit comments