diff options
Diffstat (limited to 'Software/Visual_Studio/FSE/Tango.FSE.Publisher.UI/MainWindowVM.cs')
| -rw-r--r-- | Software/Visual_Studio/FSE/Tango.FSE.Publisher.UI/MainWindowVM.cs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Software/Visual_Studio/FSE/Tango.FSE.Publisher.UI/MainWindowVM.cs b/Software/Visual_Studio/FSE/Tango.FSE.Publisher.UI/MainWindowVM.cs index 9091ff26c..aa8c8e1b8 100644 --- a/Software/Visual_Studio/FSE/Tango.FSE.Publisher.UI/MainWindowVM.cs +++ b/Software/Visual_Studio/FSE/Tango.FSE.Publisher.UI/MainWindowVM.cs @@ -163,6 +163,7 @@ namespace Tango.FSE.Publisher.UI UpdateProgress("Retrieving environments..."); using (HttpClient http = new HttpClient()) { + http.DefaultRequestHeaders.TryAddWithoutValidation("Cookie", "x-ms-routing-name=self"); GatewayClient client = new GatewayClient(ConfigurationManager.AppSettings.Get("GatewayUrl"), http); Environments = (await client.GetEnvironmentsAsync(new EnvironmentsRequest())).Environments.OrderBy(x => x.DisplayIndex).ToList(); } |
