Innovenergy_trunk/firmware/Cerbo_Release/CerboReleaseFiles/settings-user.js

32 lines
1.0 KiB
JavaScript

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' }
},
}