Remove IP logging from gateway
This commit is contained in:
parent
f59ec466de
commit
e4d85450b8
@ -35,9 +35,9 @@ export async function Connection(
|
|||||||
socket.on("close", Close);
|
socket.on("close", Close);
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
socket.on("message", Message);
|
socket.on("message", Message);
|
||||||
console.log(
|
// console.log(
|
||||||
`[Gateway] New connection from ${socket.ipAddress}, total ${this.clients.size}`,
|
// `[Gateway] New connection from ${socket.ipAddress}, total ${this.clients.size}`,
|
||||||
);
|
// );
|
||||||
|
|
||||||
const { searchParams } = new URL(`http://localhost${request.url}`);
|
const { searchParams } = new URL(`http://localhost${request.url}`);
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
|
@ -312,5 +312,5 @@ export async function onIdentify(this: WebSocket, data: Payload) {
|
|||||||
|
|
||||||
await setupListener.call(this);
|
await setupListener.call(this);
|
||||||
|
|
||||||
console.log(`${this.ipAddress} identified as ${d.user.id}`);
|
// console.log(`${this.ipAddress} identified as ${d.user.id}`);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user