mirror of
https://github.com/Ylianst/MeshCentralRouter
synced 2026-02-22 12:23:24 +00:00
Fix for multi-domain servers.
This commit is contained in:
@@ -335,7 +335,8 @@ namespace MeshCentralRouter
|
||||
bytesOutCompressed = 0;
|
||||
|
||||
state = 2;
|
||||
string u = "*/meshrelay.ashx?p=5&nodeid=" + node.nodeid + "&id=" + randomIdHex + "&rauth=" + server.rauthCookie;
|
||||
|
||||
string u = "*" + server.wsurl.AbsolutePath.Replace("control.ashx", "meshrelay.ashx") + "?p=5&nodeid=" + node.nodeid + "&id=" + randomIdHex + "&rauth=" + server.rauthCookie;
|
||||
server.sendCommand("{ \"action\": \"msg\", \"type\": \"tunnel\", \"nodeid\": \"" + node.nodeid + "\", \"value\": \"" + u.ToString() + "\", \"usage\": 5 }");
|
||||
displayMessage(null);
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user