Dan Brown

Fixed bad s3 stock url creation

...@@ -237,7 +237,7 @@ class ImageRepo ...@@ -237,7 +237,7 @@ class ImageRepo
237 // Get the standard public s3 url if s3 is set as storage type 237 // Get the standard public s3 url if s3 is set as storage type
238 if ($storageUrl == false && env('STORAGE_TYPE') === 's3') { 238 if ($storageUrl == false && env('STORAGE_TYPE') === 's3') {
239 $storageDetails = config('filesystems.disks.s3'); 239 $storageDetails = config('filesystems.disks.s3');
240 - $storageUrl = 'https://s3-' . $storageDetails['region'] . '.amazonaws.com/' . $storageDetails['bucket'] . $filePath; 240 + $storageUrl = 'https://s3-' . $storageDetails['region'] . '.amazonaws.com/' . $storageDetails['bucket'];
241 } 241 }
242 242
243 $this->storageUrl = $storageUrl; 243 $this->storageUrl = $storageUrl;
......