Hello All,
I have few videos in Mp4 and HLS format available in S3. But all those are Private… So i have added Cloudflare as a proxy between my application & S3 to serve videos.
I am able to do everything but while getting assets from cloudflare, i am getting CORS issues.
Its working fine on Browser or through Postman but with my application (react one) si giving me CORS issues.
I have already used requestOptions and setting up all headers like below but no help.
response.headers.set(‘Access-Control-Allow-Origin’, url.origin);
response.headers.append(‘Vary’, ‘Origin’);