Write directly to config file rather than making loopback PUT
Opened this issue · 0 comments
isaiahtaylor commented
When this Node server receives a POST of new settings, it seems like rather than forwarding that as a PUT to the Python server on 8080 through the local loopback, the Node server should just write to the config.json directly. Perhaps once that is done the Python server will need to be notified that the settings have changed, but it would significantly reduce code overhead and make it easier to add new features.
If you're interested, I'd be willing to submit a PR.