2
0
mirror of https://github.com/cderche/greenlock-challenge-s3 synced 2025-05-10 15:36:33 +00:00

Update index.js

This commit is contained in:
cyrille 2019-05-08 18:34:06 +01:00 committed by GitHub
parent 50dfb3dd2b
commit 90c7766386
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5,7 +5,7 @@ const defaultOptions = {
, secretAccessKey: null , secretAccessKey: null
, bucketName: null , bucketName: null
, bucketRegion: null , bucketRegion: null
, directory: '' , directory: 'acme-challenge/'
} }
const s3 = new AWS.S3({ apiVersion: '2006-03-01' }); const s3 = new AWS.S3({ apiVersion: '2006-03-01' });
@ -43,4 +43,4 @@ module.exports.create = (createOptions) => {
}; };
return handlers; return handlers;
}; };