mirror of
https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake.git
synced 2025-10-14 23:11:29 -04:00
more jasmine specs for proxypair, ui, and snowflake coffee files
This commit is contained in:
parent
e0081ea954
commit
547cb9690a
9 changed files with 159 additions and 56 deletions
|
@ -24,7 +24,6 @@ class Broker
|
|||
constructor: (@url) ->
|
||||
@clients = 0
|
||||
@id = genSnowflakeID()
|
||||
dbg 'Contacting Broker at ' + @url + '\nSnowflake ID: ' + @id
|
||||
# Ensure url has the right protocol + trailing slash.
|
||||
@url = 'https://' + @url if 0 != @url.indexOf('https://', 0)
|
||||
@url += '/' if '/' != @url.substr -1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue