refactor: 重构 Onebot 配置格式,增强可读性

This commit is contained in:
SherkeyXD committed 2024-05-15 00:17:59 +08:00
1 parent 652bfb93cc
commit c82f346dd0
9 files changed
+259 -230

No files matched your search

+1 -1
View File
@@ -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);
}
}