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:
parent
b861f490c6
commit
5c5de028da
@ -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 {
|
||||
};
|
||||
})();
|
||||
|
Loading…
Reference in New Issue
Block a user