Remove IP logging from gateway

This commit is contained in:
Madeline
2022-12-17 19:01:48 +11:00
parent 64fd33cdc9
commit 64596a7f3c
2 changed files with 4 additions and 4 deletions
+3 -3
View File
@@ -35,9 +35,9 @@ export async function Connection(
socket.on("close", Close);
// @ts-ignore
socket.on("message", Message);
console.log(
`[Gateway] New connection from ${socket.ipAddress}, total ${this.clients.size}`,
);
// console.log(
// `[Gateway] New connection from ${socket.ipAddress}, total ${this.clients.size}`,
// );
const { searchParams } = new URL(`http://localhost${request.url}`);
// @ts-ignore
+1 -1
View File
@@ -312,5 +312,5 @@ export async function onIdentify(this: WebSocket, data: Payload) {
await setupListener.call(this);
console.log(`${this.ipAddress} identified as ${d.user.id}`);
// console.log(`${this.ipAddress} identified as ${d.user.id}`);
}