News for hackers. Stuff that matters.
Re:Deploying front-end websites to S3 with CloudFront by dragonwriter on Saturday February 15, 2020 @04:42PM (#22338194)
> Configuring CORS is probably the biggest pain about this approach and is necessary if you want to send data to and from an API.

CORS is only needed for the API, not the website, and only if you don't control the API or don't make it so the API can be served (from the client's perspective) from the same origin, perhaps because it's fronted by the same Cloudfront distribution.

There are no comments on this comment yet.