brandonweiss / discharge

⚡️ A simple, easy way to deploy static websites to Amazon S3.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

"error_key" in discharge config does not work

fragosti opened this issue · comments

I've noticed twice now that when putting "index.html" for the "error_key" in .discharge.json I get the following result the S3 bucket properties, which doesn't work.

screen shot 2018-02-07 at 8 28 05 am

Thanks for letting me know! I think I might know what’s wrong.

Would you mind posting your configuration file?

Sure!

{
  "domain": "app.cryptoinsomnia.com",
  "build_command": "yarn run build",
  "upload_directory": "build",
  "index_key": "index.html",
  "error_key": "index.html",
  "trailing_slashes": false,
  "cache": 3600,
  "aws_profile": "default",
  "aws_region": "us-west-1",
  "dns_configured": true
}

@fragosti Let me know if that doesn’t sort you out!