diff --git a/TeslaLogger/WebHelper.cs b/TeslaLogger/WebHelper.cs index e052dc216..da073d0af 100644 --- a/TeslaLogger/WebHelper.cs +++ b/TeslaLogger/WebHelper.cs @@ -38,11 +38,14 @@ public string apiaddress get { if (car.FleetAPI) + { if (String.IsNullOrEmpty(car.FleetApiAddress)) return "https://fleet-api.prd.eu.vn.cloud.tesla.com/"; else return car.FleetApiAddress; - + } + else if (car.oldAPIchinaCar) + return "https://owner-api.vn.cloud.tesla.cn/"; else return "https://owner-api.teslamotors.com/"; }