how to solve Safari Mobile cors

0

i have a problem I get a CORS error when I try to load an image from my S3 on iPhone Safari. my issue here 'Failed to load resource Preflight response is not successful Status code 403' my agent here 'Mozilla/5.0 (iPhone; CPU iPhone OS 16_4_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.4 Mobile/15E148 Safari/604.1' only My S3 bucket is connected to CloudFront. Here are my CloudFront settings Cache policy and origin request policy CachingOptimized

Response Hearder SimpleCORS

Access Http GET,HEAD,OPTIONS,PUT,POST,PATCH,DELETE View access - NO

why i see cors error ??

已提问 1 年前92 查看次数