backports murph-skeleton
This commit is contained in:
parent
16d9531661
commit
4fc83e0438
|
@ -69,7 +69,9 @@ class SiteRequest
|
|||
|
||||
public function getDomain(): string
|
||||
{
|
||||
return $this->requestStack->getCurrentRequest()->headers->get('host');
|
||||
$host = $this->requestStack->getCurrentRequest()->headers->get('host');
|
||||
|
||||
return preg_replace('/:\d+$/', '', $host);
|
||||
}
|
||||
|
||||
public function getUri(): string
|
||||
|
|
Loading…
Reference in a new issue