feat: change title

change title with node addr
This commit is contained in:
Frank.R.Wu
2021-08-09 21:19:43 +08:00
parent e600c386da
commit de634576fd
2 changed files with 3 additions and 5 deletions

View File

@@ -276,7 +276,7 @@ function getControlWsUrl(host) {
function initWSocket() {
const host = document.location.host;
const url = getControlWsUrl(host);
document.title = `数瑞智能合约节点管理中心${host}`;
document.title = `数瑞智能合约节点管理中心${host}`;
// console.log("connect ws:" + url);
global.wssocket = createWssocket(url, function () {
getSession();
@@ -518,7 +518,4 @@ function addNodeUnit(obj) {
}
option.value = obj.key;
x.add(option, null);
}
}