refactor: 重构 Onebot 配置格式,增强可读性
This commit is contained in:
1 parent
652bfb93cc
commit
c82f346dd0
9 files changed
+259
-230
No files matched your search
@@ -16,7 +16,7 @@ class OB11HTTPServer extends HttpServerBase {
|
||||
}
|
||||
|
||||
protected listen(port: number, host: string) {
|
||||
if (ob11Config.enableHttp) {
|
||||
if (ob11Config.http.enable) {
|
||||
super.listen(port, host);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user