mirror of
https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake.git
synced 2025-10-13 20:11:19 -04:00
Use websocket relay at wss://snowflake.bamsoftware.com:443.
This commit is contained in:
parent
1b1fb37afe
commit
138d2b5391
2 changed files with 3 additions and 3 deletions
|
@ -9,8 +9,8 @@ this must always act as the answerer.
|
|||
###
|
||||
DEFAULT_BROKER = 'snowflake-reg.appspot.com'
|
||||
DEFAULT_RELAY =
|
||||
host: '192.81.135.242'
|
||||
port: 9902
|
||||
host: 'snowflake.bamsoftware.com'
|
||||
port: 443
|
||||
COPY_PASTE_ENABLED = false
|
||||
COOKIE_NAME = "snowflake-allow"
|
||||
|
||||
|
|
|
@ -46,7 +46,7 @@ buildUrl = (scheme, host, port, path, params) ->
|
|||
parts.join ''
|
||||
|
||||
makeWebsocket = (addr) ->
|
||||
url = buildUrl 'ws', addr.host, addr.port, '/'
|
||||
url = buildUrl 'wss', addr.host, addr.port, '/'
|
||||
ws = new WebSocket url
|
||||
###
|
||||
'User agents can use this as a hint for how to handle incoming binary data: if
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue