mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2026-02-12 16:00:27 +00:00
refactor: 重构 Onebot 配置格式,增强可读性
This commit is contained in:
@@ -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