Skip to content

Commit

Permalink
China support
Browse files Browse the repository at this point in the history
  • Loading branch information
bassmaster187 committed Feb 2, 2024
1 parent b20f9a1 commit 6d2b59d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion TeslaLogger/WebHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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/";
}
Expand Down

0 comments on commit 6d2b59d

Please sign in to comment.