techninja / cncserver

A RESTful API server for driving serial based CNC devices
133 stars 39 forks source link

WIP: Settings API fixes and improvements #104

Open rogerfachini opened 4 years ago

rogerfachini commented 4 years ago

When enabling debug mode via the settings API, it would crash with TypeError: req.body is not iterable. The first commit addresses this issue.

The runner's settings are first initialized from global settings when the runner.ready message is received. When the settings are updated via the API, these changes are not propagated to the runner's settings.

rogerfachini commented 4 years ago

Work in progress: adding support for the global.showSerial and bot.controller settings.