Skip to content

Commit

Permalink
#19 fix site path beeing ignored
Browse files Browse the repository at this point in the history
  • Loading branch information
tgaertner committed Jan 30, 2023
1 parent 0c19741 commit 0a38f7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Classes/Action/OpcacheActionRequestFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public function createRequest(OpcacheAction $action): RequestInterface
{
foreach ($this->siteFinder->getAllSites() as $site) {
$uri = $site->getRouter()->generateUri((string)$site->getRootPageId());
$uri = $uri->withPath($action->getUriPath());
$uri = $uri->withPath($uri->getPath() . $action->getUriPath());

$request = $this->requestFactory->createRequest($action->getRequestMethod(), $uri);
$request = $this->requestSignature->sign($request);
Expand Down

0 comments on commit 0a38f7d

Please sign in to comment.