CapnBry / HeaterMeter

HeaterMeter and LinkMeter Arduino BBQ Controller
https://tvwbb.com/forums/heatermeter-diy-bbq-controller.85/
MIT License
503 stars 83 forks source link

Streaming url missing CORS headers #53

Closed DavidPagels closed 4 years ago

DavidPagels commented 4 years ago

I've started working on a Reactjs single page app that will integrate with heatermeters. I'm able to load the heatermeter history after updating my heatermeter to get the update resulting from https://github.com/CapnBry/HeaterMeter/issues/44, but am unable to get updates in a browser in realtime from /luci/lm/stream after that.

CapnBry commented 4 years ago

Should be fixed in the latest snapshot. Now both the /lm/hist and /lm/stream respect the linkmeter.allowcors setting and send the appropriate header.

Thanks for reporting!