mirror of
https://github.com/PepperDash/PepperDashCore.git
synced 2026-04-12 12:06:29 +00:00
fix: adds IP from ethernet helper class
This commit is contained in:
parent
19032a0f6d
commit
6c51ce5b95
1 changed files with 1 additions and 1 deletions
|
|
@ -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}";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue