backports murph-skeleton

This commit is contained in:
Simon Vieille 2022-01-28 14:44:42 +01:00
parent 16d9531661
commit 4fc83e0438

View file

@ -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