Fixed ipinfo

This commit is contained in:
M66B 2017-09-09 08:04:57 +02:00
parent d2cb3bcf56
commit 9876388636
1 changed files with 1 additions and 1 deletions

View File

@ -544,7 +544,7 @@ public class Util {
}
BufferedReader reader = null;
try {
URL url = new URL("http://ipinfo.io/" + ip + "/org");
URL url = new URL("https://ipinfo.io/" + ip + "/org");
HttpURLConnection connection = (HttpURLConnection) url.openConnection();
connection.setRequestMethod("GET");
connection.setReadTimeout(15 * 1000);