From 724b22401e39c2140d8c80d18d6b74661fa70b10 Mon Sep 17 00:00:00 2001 From: Dan Garner Date: Tue, 8 Oct 2019 16:13:15 +0100 Subject: [PATCH] Fix XFW-27 #89 (the replace only happened on the initial request, not the settings persist) --- XmdsAgents/RegisterAgent.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)