Add diagnostics endpoint

fixes #3430
This commit is contained in:
Steve-Mcl
2022-03-24 16:00:45 +00:00
parent cb88409102
commit 3388f699a0
6 changed files with 164 additions and 2 deletions

View File

@@ -229,5 +229,12 @@ module.exports = {
* @see @node-red/editor-api_auth
* @memberof node-red
*/
auth: api.auth
auth: api.auth,
/**
* The editor authentication api.
* @see @node-red/editor-api_auth
* @memberof node-red
*/
get diagnostics() { debugger; return api.diagnostics }
};