[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [snowflake/master] Fix pcConfig from compiling to a global



commit 359600ddc55d197dbaac7f01f72ac8278054efe7
Author: Arlo Breault <arlolra@xxxxxxxxx>
Date:   Sat Jul 6 13:43:29 2019 +0200

    Fix pcConfig from compiling to a global
    
    But note that maybe we should be constructing a new PCConfig each time
    Config is instantiated, rather than sharing it on the prototype.
---
 proxy/config.coffee | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/proxy/config.coffee b/proxy/config.coffee
index 810c79f..43dca56 100644
--- a/proxy/config.coffee
+++ b/proxy/config.coffee
@@ -19,8 +19,7 @@ class Config
   connectionsPerClient: 1
 
   # TODO: Different ICE servers.
-  pcConfig = {
+  pcConfig:
     iceServers: [
       { urls: ['stun:stun.l.google.com:19302'] }
     ]
-  }



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits