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

Streaming url missing CORS headers #53

Closed
DavidPagels opened this issue May 23, 2020 · 1 comment
Closed

Streaming url missing CORS headers #53

DavidPagels opened this issue May 23, 2020 · 1 comment

Comments

@DavidPagels
Copy link

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 #44, but am unable to get updates in a browser in realtime from /luci/lm/stream after that.

@CapnBry
Copy link
Owner

CapnBry commented May 24, 2020

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!

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

2 participants