1
0
Fork 0
forked from svrjs/svrjs

Fix bug in getting public IP address without crypto support.

This commit is contained in:
Dorian Niemiec 2024-08-26 06:42:55 +02:00
parent 2aaa584e3c
commit e04a9dc1d7

2
svr.js
View file

@ -1082,7 +1082,7 @@ if (host != "[offline]" || ifaceEx) {
}
});
if (!crypto.__disabled) {
if (crypto.__disabled__ !== undefined) {
var ipRequest2 = https.get({
host: "api.seeip.org",
port: 443,