Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CORS proxy using cors-anywhere #10

Open
bernietai opened this issue Jan 4, 2021 · 4 comments
Open

CORS proxy using cors-anywhere #10

bernietai opened this issue Jan 4, 2021 · 4 comments

Comments

@bernietai
Copy link

I found thingproxy to be problematic.

I have implemented cors-anywhere https://github.com/Rob--W/cors-anywhere/ instead. Works well with freeboard.

@rk0cc
Copy link

rk0cc commented Jan 15, 2021

I found the same problem that it doesn't work when published to GitHub page. But it works in test server before release

@appukuttan-shailesh
Copy link

appukuttan-shailesh commented Feb 11, 2021

@bernietai .... I am trying to do the same thing, but unable to figure out how.
Can you describe how you setup cors-anywhere on freeboard?

@bernietai
Copy link
Author

@appukuttan-shailesh the simplest way is to use a freely available proxy server such as one setup by @Rob--W: https://cors-anywhere.herokuapp.com/. Read about how to use it here https://github.com/Rob--W/cors-anywhere/

Alternatively build your own using his code. I set one up locally and spin it up together with freeboard on docker containers. This gives you a little flexibility since you can configure your cors-anywhere server with additional parameters.

@appukuttan-shailesh
Copy link

Thanks for your reply @bernietai . I was using the free one setup by Rob-W till some months back. But it is no longer suitable for use in production as there are some limitations in place now, which requires manual intervention from time to time. At the time I was trying to setup a build myself, but was having trouble getting it to work. But I have since moved on and found workarounds. Thanks for your time.

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

No branches or pull requests

3 participants