feat: change title

change title with node addr
This commit is contained in:
Frank.R.Wu 2021-08-09 21:08:57 +08:00
parent 5758a3ae78
commit e600c386da

View File

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