MAPG-69 make Redirect able to redirect to external sources
This commit is contained in:
1 parent
295570a28d
commit
99c72d99be
3 files changed
+7
-7
No files matched your search
+1
-1
@@ -40,7 +40,7 @@ if ($match !== null) {
|
||||
|
||||
return;
|
||||
} elseif ($response instanceof MapGuesser\Interfaces\Response\IRedirect) {
|
||||
header('Location: ' . Container::$request->getBase() . '/' . $response->getUrl(), true, $response->getHttpCode());
|
||||
header('Location: ' . $response->getUrl(), true, $response->getHttpCode());
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user