From e6fcc70cb276c6e09d8a7bcde48693a1a8df550e Mon Sep 17 00:00:00 2001 From: John Walicki Date: Wed, 9 Nov 2022 22:43:27 -0500 Subject: [PATCH] Additional Node-RED settings Signed-off-by: John Walicki --- settings.js | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/settings.js b/settings.js index 0d84054..15abc94 100644 --- a/settings.js +++ b/settings.js @@ -82,11 +82,11 @@ module.exports = { // By default, all user data is stored in a directory called `.node-red` under // the user's home directory. To use a different location, the following // property can be used - userDir: '/opt/app-root/src/', + userDir: '/opt/app-root/data/', // Node-RED scans the `nodes` directory in the userDir to find local node files. // The following property can be used to specify an additional directory to scan. - nodesDir: '/opt/app-root/src/nodes', + nodesDir: '/opt/app-root/data/nodes', // By default, the Node-RED UI is available at http://localhost:1880/ // The following property can be used to specify a different root path. @@ -268,9 +268,14 @@ module.exports = { // Customising the editor editorTheme: { + tours: false, // disable the Welcome Tour for new users projects: { // To enable the Projects feature, set this value to true enabled: false } - } + }, + runtimeState: { + enabled: true, + ui: true + } };