optimize: log

This commit is contained in:
linyuchen
2024-04-27 19:21:54 +08:00
parent ef4ad9a283
commit b2a212822c
4 changed files with 13 additions and 9 deletions

View File

@@ -15,9 +15,9 @@ class OB11HTTPServer extends HttpServerBase {
res.send(OB11Response.error(e.stack.toString(), 200));
}
protected listen(port: number) {
protected listen(port: number, host: string) {
if (ob11Config.enableHttp) {
super.listen(port);
super.listen(port, host);
}
}
}