fix: adds IP from ethernet helper class

This commit is contained in:
Neil Dorin
2023-11-20 14:02:43 -07:00
parent 19032a0f6d
commit 6c51ce5b95

View File

@@ -40,7 +40,7 @@ namespace PepperDash.Core
get get
{ {
if (_httpsServer == null) return ""; if (_httpsServer == null) return "";
return $"wss://{_httpsServer.Address}:{_httpsServer.Port}{_httpsServer.WebSocketServices[_path].Path}"; return $"wss://{CrestronEthernetHelper.GetEthernetParameter(CrestronEthernetHelper.ETHERNET_PARAMETER_TO_GET.GET_CURRENT_IP_ADDRESS, 0)}:{_httpsServer.Port}{_httpsServer.WebSocketServices[_path].Path}";
} }
} }