[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



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@xxxxxxxxxxxxxxx>
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.
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits