Editing model.js from DWC? April 28, 2018 10:10PM |
Registered: 7 years ago Posts: 558 |
Quote
http://www.reprap.org/wiki/Duet_Web_Control#Configuration
In the "settings" tab, you could modify parameters. Configuration parameters are stored in the local storage of your browser and the cookies shall be activated. If you clean up regularly your browser cookies/cache for safety, this will cancel the configuration. To set permanent modifications independent from your browser, you shall modify the variable "settings" in file "/www/js/model.js". This file replace the former "interface.js" file which was splitted in "model.js" (configuration) and "viewmodel.js" (execution) from DWC version 1.08. Updating this file on SD card is done like updating the config.g file