[Routing] fix Route recompilation when hostname changed
This commit is contained in:
parent
00d132a6d3
commit
acf8a70420
@ -149,6 +149,7 @@ class Route implements \Serializable
|
||||
public function setHostnamePattern($pattern)
|
||||
{
|
||||
$this->hostnamePattern = (string) $pattern;
|
||||
$this->compiled = null;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
Reference in New Issue
Block a user