Skip to content

Commit 447bb57

Browse files
committed
use http for ipinfo so it doesnt break linux machines without ssl capabilities
Signed-off-by: si458 <simonsmith5521@gmail.com>
1 parent 68c5861 commit 447bb57

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

agents/meshcore.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -992,8 +992,8 @@ function getIpLocationDataEx(func) {
992992
if (func) { func(result); }
993993
}
994994

995-
tryEndpoint('https://v6.ipinfo.io/json', function () {
996-
tryEndpoint('https://ipinfo.io/json', null);
995+
tryEndpoint('http://v6.ipinfo.io/json', function () {
996+
tryEndpoint('http://ipinfo.io/json', null);
997997
});
998998

999999
return true;

0 commit comments

Comments
 (0)