mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2024-11-16 13:01:14 +00:00
fix
This commit is contained in:
parent
a4423247f4
commit
7edd8601be
@ -289,7 +289,7 @@ export class NapCatOnebot11 {
|
||||
// ws重启逻辑
|
||||
if ((isEnableWsChanged || isWsChanged) && NewOb11.ws.enable) {
|
||||
if (OldConfig.ws.enable) {
|
||||
ob11HTTPServer.stop();
|
||||
ob11WebsocketServer.stop();
|
||||
}
|
||||
ob11WebsocketServer.start(NewOb11.ws.port, NewOb11.ws.host);
|
||||
} else if (isHttpEnableChanged && !NewOb11.http.enable) {
|
||||
|
Loading…
Reference in New Issue
Block a user