Skip to content

Commit

Permalink
Fix url and temporaryUrl prefixed path
Browse files Browse the repository at this point in the history
  • Loading branch information
mzur committed Apr 5, 2022
1 parent a740baf commit 4becaa2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/SwiftAdapter.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ public function __construct(Container $container, $prefix = '', $url = '')
*/
public function getUrl($path)
{
$path = $this->prefixer->prefixPath($path);

if ($this->url) {
return "{$this->url}/{$path}";
}
Expand Down

0 comments on commit 4becaa2

Please sign in to comment.