Freeboard / freeboard

A damn-sexy, open source real-time dashboard builder for IOT and other web mashups. A free open-source alternative to Geckoboard.
http://freeboard.io
MIT License
6.45k stars 1.2k forks source link

Documentation - CORS #7

Closed edent closed 9 years ago

edent commented 10 years ago

Might be worth adding some documentation saying that JSON data sources may need cross origin header.

For example, in PHP,

 <?php
     header('Access-Control-Allow-Origin: https://freeboard.io');
jheising commented 10 years ago

Agreed. Another option would be to use something like http://www.corsproxy.com/. Will look at adding to the description of the JSON plugin.

nochte commented 9 years ago

I'm reasonably sure this is resolved with thingproxy.