added tls

This commit is contained in:
aj 2019-05-02 06:48:35 +01:00
parent 42d327c969
commit 305cab74fc

View File

@ -416,7 +416,7 @@ public class FmNetwork {
HttpRequest request;
try {
request = Unirest.get("http://ws.audioscrobbler.com/2.0/").header("Accept", "application/json")
request = Unirest.get("https://ws.audioscrobbler.com/2.0/").header("Accept", "application/json")
.header("User-Agent", "fmframework").queryString("method", method);
if (headers != null) {