VeriHash / verihash.github.io

Static Website
1 stars 0 forks source link

Make a 404 page #2

Closed dnlglsn closed 2 years ago

dnlglsn commented 2 years ago

Make a prettier page for when we have a 404, instead of the default one. Example: https://www.verihash.io/blah

dnlglsn commented 2 years ago

https://www.verihash.io/404.html

dnlglsn commented 2 years ago

https://www.verihash.io/blah

dnlglsn commented 2 years ago

I had to add listbucket permissions for the s3 bucket:

        {
            "Sid": "2",
            "Effect": "Allow",
            "Principal": {
                "AWS": "arn:aws:iam::cloudfront:user/CloudFront Origin Access Identity <id>"
            },
            "Action": "s3:ListBucket",
            "Resource": "arn:aws:s3:::verihash.io"
        }