IsAiMode => automatisch /service_ai
This commit is contained in:
@@ -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));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user