How to add external URL in settings.js file

Hi,

Can anyone help me out with how to include an external URL for CSS in editorTheme in setttings.js file
Currently, I'm using an absolute path to customize theme

How to include external/remote URL in settings.

There is no support for using external URLs via that setting - they have to be paths to local files.

I'm sure we could add support for something like that - if the string starts with http then pass it through as-is.

@knolleary;You mean to say like this


Can you provide an example for this - if the string starts with http then pass it through as-is.

We do not support urls today. I am suggesting we could, in a future version of Node-RED, support them - and we would recognise they are a url because they would start with http.

No real need to add that I don't think. As settings.js is "simply" a node.js file, I think that you can already do it using an http request.

Personally, I'm not sure I would like that to be made a core feature - it certainly raises some security questions that would need some thought.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.