1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00

Add example localfilesystem contextStorage to settings

This commit is contained in:
Nick O'Leary 2018-08-14 16:28:59 +01:00
parent f169a68319
commit 91a38bdb60
No known key found for this signature in database
GPG Key ID: 4F2157149161A6C9

View File

@ -213,6 +213,17 @@ module.exports = {
// j5board:require("johnny-five").Board({repl:false}) // 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 // 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 // palette. If a node's category is not in the list, the category will get
// added to the end of the palette. // added to the end of the palette.
@ -245,5 +256,5 @@ module.exports = {
// To enable the Projects feature, set this value to true // To enable the Projects feature, set this value to true
enabled: false enabled: false
} }
} },
} }