Skip to content
This repository has been archived by the owner on Apr 7, 2021. It is now read-only.

iFramely + Camo + CORS #143

Open
pirmax opened this issue Jun 10, 2018 · 1 comment
Open

iFramely + Camo + CORS #143

pirmax opened this issue Jun 10, 2018 · 1 comment

Comments

@pirmax
Copy link

pirmax commented Jun 10, 2018

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?

@atmos
Copy link
Owner

atmos commented Jun 10, 2018

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants