Skip to content
This repository was archived by the owner on Apr 27, 2021. It is now read-only.

Commit d4cdb60

Browse files
committed
Make nodejs proxy in charge of redirections
1 parent 35c6ed2 commit d4cdb60

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/HttpMessage/RedirectResponse.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,8 @@ class RedirectResponse extends Response
1313
*/
1414
public function __construct($location, $statusCode = 301, $ruleId = null)
1515
{
16-
$this->location = $location;
17-
1816
parent::__construct($statusCode, $ruleId);
17+
$this->location = $location;
1918
}
2019

2120
public function getLocation()

0 commit comments

Comments
 (0)