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:
parent
f169a68319
commit
91a38bdb60
13
settings.js
13
settings.js
@ -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
|
||||||
}
|
}
|
||||||
}
|
},
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user