mirror of
https://github.com/overleaf/overleaf.git
synced 2025-02-16 23:24:47 +00:00
Amend: safely navigate to bucket credentials
This commit is contained in:
parent
03033409c6
commit
7feafccf31
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@ module.exports = BucketController =
|
|||
getFile: (req, res)->
|
||||
{bucket} = req.params
|
||||
key = req.params[0]
|
||||
credentials = settings.filestore.s3[bucket]
|
||||
credentials = settings.filestore.s3?[bucket]
|
||||
options = {
|
||||
key: key,
|
||||
bucket: bucket,
|
||||
|
|
Loading…
Reference in a new issue