mirror of
https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake.git
synced 2025-10-14 05:11:19 -04:00
default to wss and some documentation updates, #40
This commit is contained in:
parent
d1ec51bfb9
commit
3fe10f3e7c
4 changed files with 23 additions and 6 deletions
|
@ -71,6 +71,7 @@ Parse =
|
|||
m = spec.match(/^\[([\0-9a-fA-F:.]+)\]:([0-9]+)$/) if !m
|
||||
# IPv4 syntax.
|
||||
m = spec.match(/^([0-9.]+):([0-9]+)$/) if !m
|
||||
# TODO: Domain match
|
||||
return null if !m
|
||||
|
||||
host = m[1]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue