Skip to content

Commit

Permalink
Merge pull request #95 from brave/main
Browse files Browse the repository at this point in the history
Use AWS_REGION from environment [production]
  • Loading branch information
antonok-edm authored Aug 9, 2023
2 parents e7362be + 9275b82 commit c8e0320
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion brave/s3.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const debugLib = require('./debug')

const globalS3 = new S3({
apiVersion: '2006-03-01',
region: 'us-west-2'
region: process.env.AWS_REGION || 'us-west-2'
})

const list = async (bucket, prefix) => {
Expand Down

0 comments on commit c8e0320

Please sign in to comment.