forked from mirror/MCSManager
Merge pull request #921 from nz-lin/master
修复: WS连接时使用 data/RemoteServiceConfig 中的 connectOpts
This commit is contained in:
commit
94cb5ad0e4
@ -44,7 +44,7 @@ export default class RemoteService {
|
||||
}
|
||||
|
||||
logger.info(`${$t("daemonInfo.tryConnect")}:${daemonInfo}`);
|
||||
this.socket = io(addr, connectOpts);
|
||||
this.socket = io(addr, this.config.connectOpts);
|
||||
|
||||
// register built-in events
|
||||
this.socket.on("connect", async () => {
|
||||
|
Loading…
Reference in New Issue
Block a user