finally got cloudfront corsing correctly