Skip to content

Commit 7d0df26

Browse files
committed
Merge pull request #20 from Olicek/patch-1
Fix problems with generating images
2 parents dfed7c6 + 5ba73ac commit 7d0df26

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Generator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ public function generateImage(ImageRequest $request)
8787
exit;
8888
}
8989

90-
$destination = $this->wwwDir . '/' . $this->httpRequest->getUrl()->getPath();
90+
$destination = $this->wwwDir . '/' . $this->httpRequest->getUrl()->getRelativeUrl();
9191

9292
$dirname = dirname($destination);
9393
if (!is_dir($dirname)) {

0 commit comments

Comments
 (0)