aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/FSE/Tango.FSE.Publisher.UI/MainWindowVM.cs
diff options
context:
space:
mode:
authorRoy Ben Shabat <roy.mail.net@gmail.com>2025-10-19 16:44:37 +0300
committerRoy Ben Shabat <roy.mail.net@gmail.com>2025-10-19 16:44:37 +0300
commit0d2af60ab54924245db1c3952baad55e8582c32e (patch)
tree7ef1b37e94d3cfe2159d1eff5d702823bd929b09 /Software/Visual_Studio/FSE/Tango.FSE.Publisher.UI/MainWindowVM.cs
parent3f325950721793f56352a63fdbb10357932b61df (diff)
downloadTango-0d2af60ab54924245db1c3952baad55e8582c32e.tar.gz
Tango-0d2af60ab54924245db1c3952baad55e8582c32e.zip
FSE_v3.2.0
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.cs1
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();
}