Skip to content

Commit

Permalink
FIX Ensure public url slashes are forward slashes
Browse files Browse the repository at this point in the history
  • Loading branch information
emteknetnz committed May 14, 2024
1 parent 82e5f58 commit 19b27ee
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Flysystem/PublicAssetAdapter.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ protected function findRoot($root)
*/
public function getPublicUrl($path)
{
$path = Convert::slashes($path, '/');
return Controller::join_links(Director::baseURL(), $this->parentUrlPrefix, $path);
}

Expand Down

0 comments on commit 19b27ee

Please sign in to comment.