File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -61,7 +61,8 @@ export async function createWsServer(options: CreateWsServerOptions) {
6161
6262 wsClients . add ( ws )
6363 const color = meta . isTrusted ? c . green : c . yellow
64- console . log ( color `${ MARK_INFO } Websocket client connected. [${ meta . id } ] [${ meta . clientAuthToken } ] (${ meta . isTrusted ? 'trusted' : 'untrusted' } )` )
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 } ` )
6566 } ,
6667 onDisconnected : ( ws , meta ) => {
6768 wsClients . delete ( ws )
You can’t perform that action at this time.
0 commit comments