cloudflare / Stout

A reliable static website deploy tool
MIT License
752 stars 29 forks source link

Conflicting error responses between S3 and CloudFront #25

Open renandincer opened 8 years ago

renandincer commented 8 years ago

Upon creation, S3 error pages are set to return /error.html https://github.com/EagerIO/Stout/blob/master/src/admin.go#L27

meanwhile CloudFront errors return /index.html to support single page web apps. https://github.com/EagerIO/Stout/blob/master/src/admin.go#L106

this might be confusing/contradicting

renandincer commented 8 years ago

@zackbloom

zackbloom commented 8 years ago

So the general idea is to just kill the version which is assigned in S3? That makes sense to me.