add forced domain
This commit is contained in:
parent
8e016e3b36
commit
6a95bf4be0
|
@ -26,6 +26,10 @@ class ForcedDomainEventSubscriber implements EventSubscriberInterface
|
|||
return;
|
||||
}
|
||||
|
||||
if (!$navigation->getForceDomain()) {
|
||||
return;
|
||||
}
|
||||
|
||||
if ($navigation->getDomain() === $this->siteRequest->getDomain()) {
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue