Do not alert when restart from webUI gets any other responses

This commit is contained in:
Yukino Song
2024-09-03 06:13:39 +08:00
parent 538a64a9cc
commit d332f1dadb

View File

@@ -274,9 +274,10 @@
}
})
.catch((e) => {
this.serverRestarting = false;
console.error(e);
alert("Restart error!");
this.serverRestarting = false
location.href = './login'
console.error(e)
return
});
},
quit() {