Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Зуев Егор
/
wiki.dev
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Authored by
Dan Brown
2016-07-10 10:15:38 +0100
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Commit
8b899a9cf055128c2864be20f58c4312013307a4
8b899a9c
2 parents
0ebdfa48
ec30864c
Merge branch 'patch-1' of
git://github.com/younes0/BookStack
into younes0-patch-1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
app/Services/ImageService.php
app/Services/ImageService.php
View file @
8b899a9
...
...
@@ -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
;
...
...
Please
register
or
sign in
to post a comment