mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2026-02-06 13:05:09 +00:00
fix: listener proxy
This commit is contained in:
@@ -52,10 +52,10 @@ export class NapCatOnebot11 {
|
||||
selfInfo.nick = user.nick;
|
||||
}).catch(logError);
|
||||
if (ob11Config.enableHttp) {
|
||||
ob11HTTPServer.start(ob11Config.httpPort);
|
||||
ob11HTTPServer.start(ob11Config.httpPort, ob11Config.httpHost);
|
||||
}
|
||||
if (ob11Config.enableWs) {
|
||||
ob11WebsocketServer.start(ob11Config.wsPort);
|
||||
ob11WebsocketServer.start(ob11Config.wsPort, ob11Config.wsHost);
|
||||
}
|
||||
if (ob11Config.enableWsReverse) {
|
||||
ob11ReverseWebsockets.start();
|
||||
|
||||
Reference in New Issue
Block a user