aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar
diff options
context:
space:
mode:
authorOliver Carreño <orcoliver@gmail.com>2016-05-12 11:45:36 -0400
committerOliver Carreño <orcoliver@gmail.com>2016-05-12 11:45:36 -0400
commitd0f992792b2b59fc96c7e726735b3a7a74996255 (patch)
treea8e6f903a4dbf3709205564f94616ef90917797b /src/org/traccar
parent96f18a993322a8cac19a83ce806ee1c77eb723e3 (diff)
downloadtraccar-server-d0f992792b2b59fc96c7e726735b3a7a74996255.tar.gz
traccar-server-d0f992792b2b59fc96c7e726735b3a7a74996255.tar.bz2
traccar-server-d0f992792b2b59fc96c7e726735b3a7a74996255.zip
Fix "Requests to this API must be over SSL" when use API Key
Diffstat (limited to 'src/org/traccar')
-rw-r--r--src/org/traccar/geocode/GoogleReverseGeocoder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/geocode/GoogleReverseGeocoder.java b/src/org/traccar/geocode/GoogleReverseGeocoder.java
index be863718b..1f607df78 100644
--- a/src/org/traccar/geocode/GoogleReverseGeocoder.java
+++ b/src/org/traccar/geocode/GoogleReverseGeocoder.java
@@ -30,7 +30,7 @@ public class GoogleReverseGeocoder extends JsonReverseGeocoder {
}
public GoogleReverseGeocoder(String key, int cacheSize) {
- super("http://maps.googleapis.com/maps/api/geocode/json?latlng=%f,%f&key=" + key, cacheSize);
+ super("https://maps.googleapis.com/maps/api/geocode/json?latlng=%f,%f&key=" + key, cacheSize);
}
@Override