Skip to content

Commit 608cc48

Browse files
committed
Fixed plane spotter demo: api address had changed
1 parent 8d7b2e5 commit 608cc48

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/PlaneSpotterDemo/AdsbExchangeClient.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ void AdsbExchangeClient::updateVisibleAircraft(String searchQuery) {
1010
parser.setListener(this);
1111
WiFiClient client;
1212

13-
// http://public-api.adsbexchange.com/VirtualRadar/AircraftList.json?lat=47.437691&lng=8.568854&fDstL=0&fDstU=20&fAltL=0&fAltU=5000
14-
const char host[] = "public-api.adsbexchange.com";
13+
// http://global.adsbexchange.com/VirtualRadar/AircraftList.json?lat=47.437691&lng=8.568854&fDstL=0&fDstU=20&fAltL=0&fAltU=5000
14+
const char host[] = "global.adsbexchange.com";
1515
String url = "/VirtualRadar/AircraftList.json?" + searchQuery;
1616

1717
const int httpPort = 80;

0 commit comments

Comments
 (0)