-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsettings.js
More file actions
executable file
·57 lines (48 loc) · 973 Bytes
/
settings.js
File metadata and controls
executable file
·57 lines (48 loc) · 973 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
var config = require("config").get("node-red");
module.exports = {
uiPort: config.ui.port,
uiHost: config.ui.host,
mqttReconnectTime: 15000,
serialReconnectTime: 15000,
debugMaxLength: 1000,
debugUseColors: true,
flowFile: config.flowFilename,
userDir: config.userDir,
adminAuth: {
type: "credentials",
users: [{
username: "admin",
password: "$2a$08$94ofUwG8ZrOfDDNernXipeCSxcx66A4l2RGlBGCFAriCJPEr6T2sK",
permissions: "*"
},{
username: "guest",
password: "$2a$08$YPtQjfyxx7K2b8.aTPYBJuK.Nruck.R1KqBMH3rwRE267Zd57/LOC",
permissions: "read"
}]
},
httpNodeCors: {
origin: "*",
methods: "GET,PUT,POST,DELETE"
},
functionGlobalContext: {
os: require("os")
},
contextStorage: {
default: {
module: "localfilesystem"
}
},
paletteCategories: config.paletteCategoriesOrder,
logging: {
console: {
level: "info",
metrics: false,
audit: false
}
},
editorTheme: {
projects: {
enabled: false
}
}
};