]> BookStack Code Mirror - bookstack/blobdiff - app/Services/ImageService.php
Merge branch 'v0.11'
[bookstack] / app / Services / ImageService.php
index c10e989f96a8284c319ee58c6a9eb7e655351559..4401cb230a8b4105ba5458be1e4e88f596803ccb 100644 (file)
@@ -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;
     }