Changing Node-red URL address

Add the following line to ~/.node-red/settings.js will set the admin panel from “/” to “/admin”, dashboard from “/ui” to “/”.

module.exports = {
    // the tcp port that the Node-RED web server is listening on
    uiPort: process.env.PORT || 1880,

    httpAdminRoot: '/admin', //added line
    ui: { path: "/"}, //added line

Leave a Reply

Your email address will not be published. Required fields are marked *