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

Disable websocket for updating data on the frontend #217

Open
lelleib opened this issue Dec 12, 2024 · 0 comments
Open

Disable websocket for updating data on the frontend #217

lelleib opened this issue Dec 12, 2024 · 0 comments

Comments

@lelleib
Copy link

lelleib commented Dec 12, 2024

It is necessary in my setup to make CumulusMX frontend avoid using a websocket connection (because I am using Cloudflare to make it available on the public internet).

I have found a way to do this by editing 'gaugefeed.js', 'dashboard.js' and 'now.js' in the folder /opt/CumulusMX/interface/js/ and changing the first line to 'var useWebSockets = false;'.

It would be nice to have this setting as some kind of configuration parameter. (And thus not to have to manually edit source code on every update.)

Thanks,
Benedek

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

1 participant