serverless-finch
Advanced tools
Comparing version 1.3.3 to 1.4.0
@@ -189,7 +189,10 @@ 'use strict'; | ||
const indexDoc = this.serverless.service.custom.client.indexDocument || 'index.html' | ||
const errorDoc = this.serverless.service.custom.client.errorDocument || 'error.html' | ||
let params = { | ||
Bucket: this.bucketName, | ||
WebsiteConfiguration: { | ||
IndexDocument: { Suffix: 'index.html' }, | ||
ErrorDocument: { Key: 'error.html' } | ||
IndexDocument: { Suffix: indexDoc }, | ||
ErrorDocument: { Key: errorDoc } | ||
} | ||
@@ -196,0 +199,0 @@ }; |
{ | ||
"name": "serverless-finch", | ||
"version": "1.3.3", | ||
"version": "1.4.0", | ||
"engines": { | ||
@@ -5,0 +5,0 @@ "node": ">=4.0" |
@@ -25,2 +25,4 @@ # serverless-finch | ||
distributionFolder: client/dist # (Optional) The location of your website. This defaults to client/dist | ||
indexDocument: index.html # (Optional) The name of your index document inside your distributionFolder. Defaults to index.html | ||
errorDocument: error.html # (Optional) The name of your error document inside your distributionFolder. Defaults to error.html | ||
``` | ||
@@ -61,8 +63,11 @@ | ||
### v1.4.* | ||
- Added the ability to set custom index and error documents. ([Pull 20](https://github.com/fernando-mc/serverless-finch/pull/20) - [evanseeds](https://github.com/evanseeds)) | ||
### v1.3.* | ||
- Added the ability to set a `distributionFolder` configuration value. This enables you to upload your website files from a custom directory ([Pull 12](https://github.com/fernando-mc/serverless-finch/pull/12) - [pradel](https://github.com/pradel)) | ||
- Updated the URL to the official static website endpoint URL ([Pull 13](https://github.com/fernando-mc/serverless-finch/pull/13) - [amsross](https://github.com/amsross)) | ||
- Minor fixes to prs ([fernando-mc](https://github.com/fernando-mc)) | ||
- Added a new AWS region ([daguix](https://github.com/daguix)) | ||
- Fixed an issue with resolving serverless variables ([shentonfreude](https://github.com/shentonfreude)) | ||
- Added a new AWS region ([Pull 14](https://github.com/fernando-mc/serverless-finch/pull/14) - [daguix](https://github.com/daguix)) | ||
- Fixed an issue with resolving serverless variables ([Pull 18](https://github.com/fernando-mc/serverless-finch/pull/18) - [shentonfreude](https://github.com/shentonfreude)) | ||
@@ -83,3 +88,4 @@ ### v1.2.* | ||
- [shentonfreude](https://github.com/shentonfreude) | ||
- [evanseeds](https://github.com/evanseeds) | ||
Forked from the [**serverless-client-s3**](https://github.com/serverless/serverless-client-s3/) |
17793
292
89