X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/42976ca48c8de04726e62356f76f0bbb77b2ab15..92d393537c9de537d03141d8630d46fbe890f575:/app/Services/ImageService.php diff --git a/app/Services/ImageService.php b/app/Services/ImageService.php index c10e989f9..4401cb230 100644 --- a/app/Services/ImageService.php +++ b/app/Services/ImageService.php @@ -273,7 +273,7 @@ class ImageService $this->storageUrl = $storageUrl; } - return ($this->storageUrl == false ? '' : rtrim($this->storageUrl, '/')) . $filePath; + return ($this->storageUrl == false ? rtrim(baseUrl(''), '/') : rtrim($this->storageUrl, '/')) . $filePath; }