From 91a38bdb60637002272ddd811c2a7479b9803e6c Mon Sep 17 00:00:00 2001 From: Nick O'Leary Date: Tue, 14 Aug 2018 16:28:59 +0100 Subject: [PATCH] Add example localfilesystem contextStorage to settings --- settings.js | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/settings.js b/settings.js index 1082332cc..6d6c6948b 100644 --- a/settings.js +++ b/settings.js @@ -213,6 +213,17 @@ module.exports = { // j5board:require("johnny-five").Board({repl:false}) }, + // Context Storage + // The following property can be used to enable context storage. The configuration + // provided here will enable file-based context that flushes to disk every 30 seconds. + // Refer to the documentation for further options: https://nodered.org/docs/api/context/ + // + //contextStorage: { + // default: { + // module:"localfilesystem" + // }, + //}, + // The following property can be used to order the categories in the editor // palette. If a node's category is not in the list, the category will get // added to the end of the palette. @@ -245,5 +256,5 @@ module.exports = { // To enable the Projects feature, set this value to true enabled: false } - } + }, }