forked from svrjs/svrjs
Fix bug in getting public IP address without crypto support.
This commit is contained in:
parent
2aaa584e3c
commit
e04a9dc1d7
1 changed files with 1 additions and 1 deletions
2
svr.js
2
svr.js
|
@ -1082,7 +1082,7 @@ if (host != "[offline]" || ifaceEx) {
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
if (!crypto.__disabled) {
|
if (crypto.__disabled__ !== undefined) {
|
||||||
var ipRequest2 = https.get({
|
var ipRequest2 = https.get({
|
||||||
host: "api.seeip.org",
|
host: "api.seeip.org",
|
||||||
port: 443,
|
port: 443,
|
||||||
|
|
Reference in a new issue