Fix bookmarklet behind a reverse proxy
This commit is contained in:
parent
6bb577bcce
commit
7dead957f0
2 changed files with 1 additions and 2 deletions
|
@ -83,6 +83,7 @@ class ViewFactory
|
|||
$view->offsetSet('canonical', self::getCanonicalUrl($request));
|
||||
$view->offsetSet('locale', $container->get('locale')->getLocale());
|
||||
$view->offsetSet('config', $container->get('config'));
|
||||
$view->offsetSet('domain', $uri->withPath('')->withBasePath(''));
|
||||
|
||||
return $view;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue