Good Evening Everyone,
I am running magento 2.4.3-p1 and I wanted to server my website through Cloudfront Amazon.
I followed a guide and with some digging i manage to server my static part EXCEPT this king of errors in XMLHttpRequest of website
Access to XMLHttpRequest at ‘https://d3mwyfgp4ulg5q.cloudfront.net/frontend/Mgs/claue/el_GR/js-translation.json’ from origin ‘https://delaroca.store’ has been blocked by CORS policy: Response to preflight request doesn’t pass access control check: No ‘Access-Control-Allow-Origin’ header is present on the requested resource.
Please note that media did not had any issue. I can’t get a workaround Access headers, maybe I have to change set with add.