From 0e52271ba9b585bf044270cf6c70111965c20f32 Mon Sep 17 00:00:00 2001 From: Nick O'Leary Date: Mon, 22 May 2023 11:00:15 +0100 Subject: [PATCH] Remove version info from theme endpoint Fixes #4170 --- packages/node_modules/@node-red/editor-api/lib/editor/theme.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/node_modules/@node-red/editor-api/lib/editor/theme.js b/packages/node_modules/@node-red/editor-api/lib/editor/theme.js index c21a7e6e7..a3467a66c 100644 --- a/packages/node_modules/@node-red/editor-api/lib/editor/theme.js +++ b/packages/node_modules/@node-red/editor-api/lib/editor/theme.js @@ -27,8 +27,7 @@ var defaultContext = { tabicon: { icon: "red/images/node-red-icon-black.svg", colour: "#8f0000" - }, - version: require(path.join(__dirname,"../../package.json")).version + } }, header: { title: "Node-RED",