From 32d5b12d279cc0ac715d962a0975bc99e8510b6a Mon Sep 17 00:00:00 2001 From: Dan Brown Date: Tue, 8 Dec 2015 21:01:37 +0000 Subject: [PATCH] Fixed bad s3 stock url creation --- app/Repos/ImageRepo.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Repos/ImageRepo.php b/app/Repos/ImageRepo.php index 3dce7e94b..2699b9e97 100644 --- a/app/Repos/ImageRepo.php +++ b/app/Repos/ImageRepo.php @@ -237,7 +237,7 @@ class ImageRepo // Get the standard public s3 url if s3 is set as storage type if ($storageUrl == false && env('STORAGE_TYPE') === 's3') { $storageDetails = config('filesystems.disks.s3'); - $storageUrl = 'https://s3-' . $storageDetails['region'] . '.amazonaws.com/' . $storageDetails['bucket'] . $filePath; + $storageUrl = 'https://s3-' . $storageDetails['region'] . '.amazonaws.com/' . $storageDetails['bucket']; } $this->storageUrl = $storageUrl;