Skip to content

Commit

Permalink
Update RenderContentStrategy.php
Browse files Browse the repository at this point in the history
  • Loading branch information
Nattfarinn authored Oct 6, 2020
1 parent ac775af commit a33cafc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public function render(ValueObject $valueObject, RenderOptions $options): string
$content = $valueObject;

$currentRequest = $this->requestStack->getCurrentRequest();
$surrogateCapability = $currentRequest->get('Surrogate-Capability');
$surrogateCapability = $currentRequest->headers->get('Surrogate-Capability');

$request = new Request();
$request->headers->set('siteaccess', $this->siteAccess->name);
Expand Down

0 comments on commit a33cafc

Please # to comment.