更新 main.js
This commit is contained in:
parent
12a1433f3f
commit
738b27b98d
3
main.js
3
main.js
@ -244,6 +244,9 @@ function writeSettings() {
|
|||||||
const ui_auth = adapter.config.ui_user && adapter.config.ui_pass ? JSON.stringify({user: adapter.config.ui_user, pass: adapter.config.ui_pass}) : '""';
|
const ui_auth = adapter.config.ui_user && adapter.config.ui_pass ? JSON.stringify({user: adapter.config.ui_user, pass: adapter.config.ui_pass}) : '""';
|
||||||
const ui_pass = '"' + adapter.config.ui_pass + '"';
|
const ui_pass = '"' + adapter.config.ui_pass + '"';
|
||||||
|
|
||||||
|
const node_auth = adapter.config.ui_user && adapter.config.ui_pass ? JSON.stringify({user: adapter.config.ui_user, pass: adapter.config.ui_pass}) : '""';
|
||||||
|
const node_pass = '"' + adapter.config.ui_pass + '"';
|
||||||
|
|
||||||
|
|
||||||
for (let a = 0; a < additional.length; a++) {
|
for (let a = 0; a < additional.length; a++) {
|
||||||
if (additional[a].match(/^node-red-/)) continue;
|
if (additional[a].match(/^node-red-/)) continue;
|
||||||
|
Loading…
Reference in New Issue
Block a user