mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-07-07 20:02:40 +00:00
Merge branch 'patch-1' of git://github.com/younes0/BookStack into younes0-patch-1
This commit is contained in:
commit
8b899a9cf0
|
@ -261,7 +261,7 @@ class ImageService
|
|||
// Get the standard public s3 url if s3 is set as storage type
|
||||
if ($storageUrl == false && config('filesystems.default') === 's3') {
|
||||
$storageDetails = config('filesystems.disks.s3');
|
||||
$storageUrl = 'https://s3-' . $storageDetails['region'] . '.amazonaws.com/' . $storageDetails['bucket'];
|
||||
$storageUrl = 'https://' . $storageDetails['bucket'] . '.s3.amazonaws.com';
|
||||
}
|
||||
|
||||
$this->storageUrl = $storageUrl;
|
||||
|
|
Loading…
Reference in New Issue
Block a user