Closed mlandauer closed 7 years ago
Need to make sure that Cloudfront also handled the 404 errors by sending back a 200 otherwise the appcache doesn't cache and the app doesn't work offline!
This explains how: https://keita.blog/2015/11/24/hosting-a-single-page-app-on-s3-with-proper-urls/
This is all done and deployed now
With Cloudfront we can tell it to funnel all requests through a single file (by setting the error file to be the same as the index file) and so we don't have to use the hashbang urls if we don't want to.