From 76c0e140cf8d97f0a519d3fcdd69d13261d3c015 Mon Sep 17 00:00:00 2001 From: Steve-Mcl Date: Wed, 6 Apr 2022 15:11:28 +0100 Subject: [PATCH] fix up report - remove duplicate entries --- .../node_modules/@node-red/runtime/lib/api/diagnostics.js | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/packages/node_modules/@node-red/runtime/lib/api/diagnostics.js b/packages/node_modules/@node-red/runtime/lib/api/diagnostics.js index d942a9aa1..0293c7f97 100644 --- a/packages/node_modules/@node-red/runtime/lib/api/diagnostics.js +++ b/packages/node_modules/@node-red/runtime/lib/api/diagnostics.js @@ -117,18 +117,15 @@ function buildDiagnosticReport(scope, callback) { adminAuth: runtime.settings.adminAuth ? "SET" : "UNSET", - httpAdminRoot: runtime.settings.adminAuth ? "SET" : "UNSET", - httpAdminCors: runtime.settings.httpAdminCors ? "SET" : "UNSET", - httpNodeAuth: runtime.settings.httpNodeAuth ? "SET" : "UNSET", - httpAdminRoot: runtime.settings.httpAdminRoot || "UNSET", httpAdminCors: runtime.settings.httpAdminCors ? "SET" : "UNSET", + httpNodeAuth: runtime.settings.httpNodeAuth ? "SET" : "UNSET", httpNodeRoot: runtime.settings.httpNodeRoot || "UNSET", httpNodeCors: runtime.settings.httpNodeCors ? "SET" : "UNSET", httpStatic: runtime.settings.httpStatic ? "SET" : "UNSET", - httpStatic: runtime.settings.httpStaticRoot || "UNSET", + httpStaticRoot: runtime.settings.httpStaticRoot || "UNSET", httpStaticCors: runtime.settings.httpStaticCors ? "SET" : "UNSET", uiHost: runtime.settings.uiHost ? "SET" : "UNSET",