1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00

Add remote server name to page title / tab

Makes selecting one of several servers easier.
This commit is contained in:
Dave C-J 2014-11-07 12:28:19 +00:00
parent b861f490c6
commit 5c5de028da

View File

@ -321,6 +321,10 @@ var RED = (function() {
RED.comms.connect();
});
if ((window.location.hostname !== "localhost") && (window.location.hostname !== "127.0.0.1")) {
document.title = "Node-RED : "+window.location.hostname;
}
return {
};
})();