Skip to content
This repository was archived by the owner on Oct 25, 2024. It is now read-only.

Commit a243922

Browse files
jianjunzChunbo
authored andcommitted
Remove log for received data.
Signaling messages may contain IP addresses, OS versions. Disable it to prevent leakage of privacy information.
1 parent d9c402a commit a243922

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

peerserver.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,6 @@ function onConnection(socket){
122122
for (var i=0;i<forwardEvents.length;i++){
123123
socket.on(forwardEvents[i],(function(i){
124124
return function(data, ackCallback){
125-
console.log('Received '+forwardEvents[i]+': '+JSON.stringify(data));
126125
data.from=socket.user.id;
127126
var to=data.to;
128127
delete data.to;

0 commit comments

Comments
 (0)