Showing
1 changed file
with
1 additions
and
1 deletions
| ... | @@ -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; | ... | ... |
-
Please register or sign in to post a comment