Hallo ctrlX CORE team,
the Settings.js file has many setting options that could be helpful for the development of NodeRed, for example:
After the app installation, this file is in the same root / nodered folder structure as the flows.json is located.
My question is could you not make this file replaceable? In the past, this was possible with the pre-series devices.
I have attached a Settings.js file as an example.
Thank you for your efforts and keep up the good work
With best regards
Solved! Go to Solution.
I have basically the same issue. We need to change the "uiHost" configuration value of NodeRed. The configuration value can be set within the settings.js file. An option to (easily) replace or modify the settings.js would be very helpful to us.
this feature will be implemented with next release-milestone RM21.07.
Stay tuned 🙂
At the moment this info is missing in the documentation. But while booting up the Node-RED snap is looking to following paths in the mentioned order if there is a settings.js ($SNAP_DATA = /var/snap/ctrlx-node-red/current):
If you like to change settings you should copy out an original Settings.js already prepared by us for normal usage (otherwise the snap will/could stop working) from the third path, then add your extensions and load it to e.g. the first path to be persistent.