diff --git a/XmdsAgents/RegisterAgent.cs b/XmdsAgents/RegisterAgent.cs index 20642f93..20e90d3a 100644 --- a/XmdsAgents/RegisterAgent.cs +++ b/XmdsAgents/RegisterAgent.cs @@ -159,7 +159,7 @@ public void Run() callRegister(xmds, key); // If that worked (no errors), update our setting - ApplicationSettings.Default.ServerUri = ApplicationSettings.Default.ServerUri.Replace("http", "https"); + ApplicationSettings.Default.ServerUri = ApplicationSettings.Default.ServerUri.Replace("http://", "https://"); ApplicationSettings.Default.Save(); } catch (Exception e)