Showing
1 changed file
with
1 additions
and
1 deletions
| ... | @@ -259,7 +259,7 @@ class ImageService | ... | @@ -259,7 +259,7 @@ class ImageService |
| 259 | // Get the standard public s3 url if s3 is set as storage type | 259 | // Get the standard public s3 url if s3 is set as storage type |
| 260 | if ($storageUrl == false && config('filesystems.default') === 's3') { | 260 | if ($storageUrl == false && config('filesystems.default') === 's3') { |
| 261 | $storageDetails = config('filesystems.disks.s3'); | 261 | $storageDetails = config('filesystems.disks.s3'); |
| 262 | - $storageUrl = 'https://s3-' . $storageDetails['region'] . '.amazonaws.com/' . $storageDetails['bucket']; | 262 | + $storageUrl = 'https://' . $storageDetails['bucket'] . '.s3.amazonaws.com'; |
| 263 | } | 263 | } |
| 264 | 264 | ||
| 265 | $this->storageUrl = $storageUrl; | 265 | $this->storageUrl = $storageUrl; | ... | ... |
-
Please register or sign in to post a comment