How to access to url '/' in http-in node

#1

Hi,

I am moving a project from NodeJs/Express to Node-Red. To do that, I use a http-in node as http endpoint, and I want to be able to access to the url '/' (in the node http-in), which is the url to access the UI.
Is there any means to do that ?

Thx

0 Likes

#2

Hi,

I assume you mean you want / to route to your HTTP In node and not the editor UI?

If so, you can use httpAdminRoot in your settings file to move the path used to serve the editor. That will free up / to be used by your own node.

Nick

0 Likes

#3

Yes you are rigth, it is to route / in the http-in node.
Once I have used httpAdminRoot, I suppose the the UI is nore available.
Thx for this very quick answer.

0 Likes