camo
camo copied to clipboard
iFramely + Camo + CORS
I use iFramely to get data website from URL.
I've configured Camo on iFramely to get image from proxy.
But... I've an error of CORS:
Access to Image at 'https://camo.domain.com/fe8233a459d7e0ba0106e2fd908277ee1c233bca/68747470113a2f2f692e7974696d672e636f6d2f76692f6e436751446a696f7447302f6d617872657364656661756c742e6a7067' from origin 'https://website.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'https://website.com' is therefore not allowed access.
How I can accept website.com on my Camo image proxy?
Camo has a good set of defaults that focuses on keeping the user safe and sometimes it's challenging for the developer. You're trying to do something that will eventually be harmful to your users, sharing images doesn't require CORS.