mirror of
https://github.com/Ylianst/MeshCentralRouter
synced 2025-12-31 23:43:14 +00:00
Switched back to using built-in sockets with compression.
This commit is contained in:
@@ -677,7 +677,7 @@ namespace MeshCentralRouter
|
||||
|
||||
// Get login key
|
||||
string url = jsonAction["url"] + "&auth=" + authCookie;
|
||||
if (url.StartsWith("*/")) { url = "wss://" + wsurl.Authority + url.Substring(1); }
|
||||
if (url.StartsWith("*/")) { url = "https://" + wsurl.Authority + url.Substring(1); }
|
||||
string loginkey = getValueFromQueryString(wsurl.Query, "key");
|
||||
if (loginkey != null) { url += ("&key=" + loginkey); }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user