serverless-client-s3 icon indicating copy to clipboard operation
serverless-client-s3 copied to clipboard

Feature Request: Specifying Error Document and Redirection Rules

Open dandalf opened this issue 7 years ago • 0 comments

In S3 Bucket settings for static website hosting, I can specify an Error Document and Redirection Rules in AWS. serverless-client-s3 defaults the Error Document to "error.html" if it exists in the dist path. I am building my site in react and would like to redirect all errors to "index.html" to handle them in my code and support browser history.

As a feature request, I'd like to be able to explicitly configure the index, error document, and redirection rules that get set on S3.

dandalf avatar Jul 25 '16 20:07 dandalf