IsAiMode => automatisch /service_ai

This commit is contained in:
2026-06-02 12:04:26 +02:00
parent a552992a72
commit 46eb9403f7

View File

@@ -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));
}