diff --git a/BeWo/BeWoApp.xaml.cs b/BeWo/BeWoApp.xaml.cs index 065fce1e0..1c526e7e4 100644 --- a/BeWo/BeWoApp.xaml.cs +++ b/BeWo/BeWoApp.xaml.cs @@ -784,14 +784,20 @@ namespace BeWo //{ // url += "/service45"; //} - if (url.IndexOf("/service") < 0) + if (BeWoAppInfo.IsInAiMode) { - url += "/service"; + if (url.IndexOf("/service_ai") < 0) + { + url += "/service_ai"; + } } - //if (url.IndexOf("/service_ai") < 0) - //{ - // url += "/service_ai"; - //} + else + { + if (url.IndexOf("/service") < 0) + { + url += "/service"; + } + } return new Uri(String.Format("https://{0}", url)); }