url = ipInfo.HOSTNAME_SSL + "/json" + ipInfo.TOKEN_PREFIX + token
creates https://ipinfo.io//json
because ipInfo.HOSTNAME_SSL = "https://ipinfo.io/";
which leads to Cannot GET //json etc.
Only thing changed is removing the extra /
Hope it's OK I created the pull request directly as it's only a tiny change.
url = ipInfo.HOSTNAME_SSL + "/json" + ipInfo.TOKEN_PREFIX + token
createshttps://ipinfo.io//json
becauseipInfo.HOSTNAME_SSL = "https://ipinfo.io/";
which leads toCannot GET //json
etc.Only thing changed is removing the extra
/
Hope it's OK I created the pull request directly as it's only a tiny change.
Best regards, Florian