mirror of
https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake.git
synced 2025-10-13 20:11:19 -04:00
Use URLSearchParams.toString instead of Query.buildString.
This commit is contained in:
parent
fdc5563f87
commit
e87ec65858
2 changed files with 2 additions and 20 deletions
|
@ -1,5 +1,3 @@
|
|||
/* global Query */
|
||||
|
||||
/*
|
||||
Only websocket-specific stuff.
|
||||
*/
|
||||
|
@ -36,7 +34,7 @@ class WS {
|
|||
}
|
||||
if (void 0 !== params) {
|
||||
parts.push('?');
|
||||
parts.push(Query.buildString(params));
|
||||
parts.push(new URLSearchParams(params).toString());
|
||||
}
|
||||
return parts.join('');
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue