|
@@ -16,11 +16,13 @@ public class DaemonApiHelper
|
|
|
|
|
|
private string GetApiUrl(Node node)
|
|
private string GetApiUrl(Node node)
|
|
{
|
|
{
|
|
|
|
+ /* SSL not implemented in moonlight daemon
|
|
if(node.Ssl)
|
|
if(node.Ssl)
|
|
return $"https://{node.Fqdn}:{node.MoonlightDaemonPort}/";
|
|
return $"https://{node.Fqdn}:{node.MoonlightDaemonPort}/";
|
|
else
|
|
else
|
|
- return $"http://{node.Fqdn}:{node.MoonlightDaemonPort}/";
|
|
|
|
- //return $"https://{node.Fqdn}:{node.HttpPort}/";
|
|
|
|
|
|
+ return $"http://{node.Fqdn}:{node.MoonlightDaemonPort}/";*/
|
|
|
|
+
|
|
|
|
+ return $"http://{node.Fqdn}:{node.MoonlightDaemonPort}/";
|
|
}
|
|
}
|
|
|
|
|
|
public async Task<T> Get<T>(Node node, string resource)
|
|
public async Task<T> Get<T>(Node node, string resource)
|