Description
The dashboard is currently hardcoded to use http://127.0.0.1:5000 as the API URL. We should have an option to change this in the dashboard itself (possibly through a new settings menu). The URL that is set for the API should be saved in the browser between page reloads, and should only default to 127.0.0.1:5000 or localhost:5000.
This will allow us to run the API on a separate machine to the dashboard, enabling multiple users to poll data.
Relates to: SunDevilRocketry/SDEC-API#14
Description
The dashboard is currently hardcoded to use
http://127.0.0.1:5000as the API URL. We should have an option to change this in the dashboard itself (possibly through a new settings menu). The URL that is set for the API should be saved in the browser between page reloads, and should only default to 127.0.0.1:5000 or localhost:5000.This will allow us to run the API on a separate machine to the dashboard, enabling multiple users to poll data.
Relates to: SunDevilRocketry/SDEC-API#14