From e04a9dc1d759cac07ab0f7f2227b4f0a5a68fa34 Mon Sep 17 00:00:00 2001 From: Dorian Niemiec Date: Mon, 26 Aug 2024 06:42:55 +0200 Subject: [PATCH] Fix bug in getting public IP address without crypto support. --- svr.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/svr.js b/svr.js index a1415a0..40ee3e2 100644 --- a/svr.js +++ b/svr.js @@ -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,