fix: #553
This commit is contained in:
1 parent
38cbb8d2b0
commit
8a5e5bce4e
1 file changed
+4
@@ -78,8 +78,12 @@ export class PacketHighwayContext {
|
|||||||
ip: int32ip2str(addr.ip),
|
ip: int32ip2str(addr.ip),
|
||||||
port: addr.port
|
port: addr.port
|
||||||
});
|
});
|
||||||
|
this.hwClient.changeServer(int32ip2str(addr.ip), addr.port);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if (this.sig.serverAddr.length === 0) {
|
||||||
|
this.logger.warn('[Highway PrepareUpload] server addr is empty!');
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
async uploadImage(peer: Peer, img: PacketMsgPicElement): Promise<void> {
|
async uploadImage(peer: Peer, img: PacketMsgPicElement): Promise<void> {
|
||||||
|
|||||||
Reference in new issue
Block a user