[tor-commits] [pluggable-transports/snowflake-webext] 03/06: Make WS.makeWebsocketURL properly attach params.

gitolite role git at cupani.torproject.org
Fri Mar 31 15:20:54 UTC 2023


This is an automated email from the git hooks/post-receive script.

cohosh pushed a commit to branch main
in repository pluggable-transports/snowflake-webext.

commit dcc24dfdf28c2359032e253ac2216ecede20ec16
Author: David Fifield <david at bamsoftware.com>
AuthorDate: Wed Mar 29 11:55:17 2023 -0600

    Make WS.makeWebsocketURL properly attach params.
    
    Fixes #82.
---
 websocket.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/websocket.js b/websocket.js
index b49bd2f..f04a505 100644
--- a/websocket.js
+++ b/websocket.js
@@ -16,7 +16,7 @@ class WS {
     urlpa.forEach(function (value, key) {
       parsedURL.searchParams.set(key, value);
     });
-    return new URL(url);
+    return parsedURL;
   }
 
   /**

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the tor-commits mailing list