diff --git a/src/UrlGenerators/LocalUrlGenerator.php b/src/UrlGenerators/LocalUrlGenerator.php index 53d1d8f..1d36954 100644 --- a/src/UrlGenerators/LocalUrlGenerator.php +++ b/src/UrlGenerators/LocalUrlGenerator.php @@ -50,7 +50,7 @@ public function getPublicPath() if ($this->isInWebroot()) { $path = str_replace(public_path(), '', $this->getAbsolutePath()); } else { - $path = rtrim($this->getDiskConfig('prefix', 'storage'), '/') . '/' . $this->media->getDiskPath(); + $path = rtrim($this->getDiskConfig('prefix', 'storage'), '/').'/'.$this->media->getDiskPath(); } return $this->cleanDirectorySeparators($path);