feat: try add reboot

This commit is contained in:
手瓜一十雪
2024-05-12 17:56:57 +08:00
parent 20b7e9b6b5
commit 69f4383678
4 changed files with 25 additions and 13 deletions

View File

@@ -61,12 +61,12 @@ export abstract class HttpServerBase {
this.listen(port, host);
} catch (e: any) {
logError('HTTP服务启动失败', e.toString());
// llonebotError.httpServerError = "HTTP服务启动失败, " + e.toString()
// httpServerError = "HTTP服务启动失败, " + e.toString()
}
}
stop() {
// llonebotError.httpServerError = ""
// httpServerError = ""
if (this.server) {
this.server.close();
this.server = null;