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
2015-12-08 21:01:37 +0000
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Commit
32d5b12d279cc0ac715d962a0975bc99e8510b6a
32d5b12d
1 parent
c88096b7
Fixed bad s3 stock url creation
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
app/Repos/ImageRepo.php
app/Repos/ImageRepo.php
View file @
32d5b12
...
...
@@ -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
;
...
...
Please
register
or
sign in
to post a comment