mirror of
https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake.git
synced 2025-10-13 20:11:19 -04:00
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.
This commit is contained in:
parent
1fd6cb870e
commit
359600ddc5
1 changed files with 1 additions and 2 deletions
|
@ -19,8 +19,7 @@ class Config
|
||||||
connectionsPerClient: 1
|
connectionsPerClient: 1
|
||||||
|
|
||||||
# TODO: Different ICE servers.
|
# TODO: Different ICE servers.
|
||||||
pcConfig = {
|
pcConfig:
|
||||||
iceServers: [
|
iceServers: [
|
||||||
{ urls: ['stun:stun.l.google.com:19302'] }
|
{ urls: ['stun:stun.l.google.com:19302'] }
|
||||||
]
|
]
|
||||||
}
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue