debug
This commit is contained in:
parent
c104f3c26b
commit
ca051c6821
|
|
@ -103,7 +103,7 @@ sock.on('message', (msg, info) => {
|
||||||
if (!user) return;
|
if (!user) return;
|
||||||
const targetIp = ips[user.username];
|
const targetIp = ips[user.username];
|
||||||
const targetPort = ports[user.username];
|
const targetPort = ports[user.username];
|
||||||
console.log(targetIp, targetPort);
|
console.log(targetIp, targetPort, user, ips, ports);
|
||||||
if (!targetIp || !targetPort) return;
|
if (!targetIp || !targetPort) return;
|
||||||
sock.send(encrypt(dec, user.key, config.iv, config.algorithm), targetPort, targetIp);
|
sock.send(encrypt(dec, user.key, config.iv, config.algorithm), targetPort, targetIp);
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue