Hello Everyone, i am creating a customized UI for my istance of node red and looking up at the Editor themes documentation portion :
page: {
title: "Node-RED",
favicon: "/absolute/path/to/theme/icon",
css: "/absolute/path/to/custom/css/file",
scripts: [ "/absolute/path/to/custom/script/file", "/another/script/file"]
},
header: {
title: "Node-RED",
image: "/absolute/path/to/header/image", // or null to remove image
url: "http://nodered.org" // optional url to make the header text/image a link to this url
},
deployButton: {
type:"simple",
label:"Save",
icon: "/absolute/path/to/deploy/button/image" // or null to remove image
},
in order to pass the favicon or the images it requires the absolute file path, is it possible to have it relative, if yes, how? i tried __dirname but i couldn't do it. i tried with examples like .\..\ style and something like that but it failed. I am on Windows.
Thank you for the help, have a nice day