diff --git a/web/html/servers.html b/web/html/servers.html index dd1882d3..5e48c93c 100644 --- a/web/html/servers.html +++ b/web/html/servers.html @@ -236,7 +236,7 @@ axios.get('/panel/api/servers/list') .then(response => { this.servers = response.data.obj; - this.servers = servers.map(s => { + this.servers = this.servers.map(s => { s.status = 'Checking...'; return s; }); @@ -314,7 +314,7 @@ if (!secretWebPath.endsWith('/')) { secretWebPath = secretWebPath + '/'; } - console.log(this.modal.server); + axios .post(url, this.modal.server) .then((response) => {