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.
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.