Skip to content

Commit f0c87b1

Browse files
committed
chore: cleanup console.log
1 parent 62f659b commit f0c87b1

File tree

1 file changed

+1
-2
lines changed
  • packages/core/src/node

1 file changed

+1
-2
lines changed

packages/core/src/node/ws.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,7 @@ export async function createWsServer(options: CreateWsServerOptions) {
6161

6262
wsClients.add(ws)
6363
const color = meta.isTrusted ? c.green : c.yellow
64-
const trustedKeys = Object.keys(contextInternal.storage.auth.value().trusted)
65-
console.log(color`${MARK_INFO} Websocket client connected. [${meta.id}] [${meta.clientAuthToken}] (${meta.isTrusted ? 'trusted' : 'untrusted'}) authToken=${authToken} trustedKeys=${JSON.stringify(trustedKeys)} isClientAuthDisabled=${isClientAuthDisabled}`)
64+
console.log(color`${MARK_INFO} Websocket client connected. [${meta.id}] [${meta.clientAuthToken}] (${meta.isTrusted ? 'trusted' : 'untrusted'})`)
6665
},
6766
onDisconnected: (ws, meta) => {
6867
wsClients.delete(ws)

0 commit comments

Comments
 (0)