Innovenergy_trunk/NodeRed/settings-user.js

32 lines
1.0 KiB
JavaScript
Raw Normal View History

2024-05-28 09:20:02 +00:00
module.exports = {
uiHost:"",
/* To password protect the Node-RED editor and admin API, the following
property can be used. See https://nodered.org/docs/security.html for details.
*/
adminAuth: {
sessionExpiryTime: 86400,
type: "credentials",
users: [{
username: "admin",
password: "$2b$08$d7A0gwkDh4KtultiCAVH6eQ.tQUwVApq.tDVOOYQ51EpLIMbYy2GW",//salidomo
permissions: "*"
}]
},
/* 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"
// },
//},
contextStorage: {
default: "memoryOnly",
memoryOnly: { module: 'memory' },
file: { module: 'localfilesystem' }
},
}