Continued:
authorRoland Häder <roland@mxchange.org>
Fri, 20 Jan 2023 01:43:26 +0000 (02:43 +0100)
committerRoland Häder <roland@mxchange.org>
Fri, 20 Jan 2023 01:43:59 +0000 (02:43 +0100)
- just for consistency ...

src/Worker/UpdateServerPeers.php

index 85a1b61..8119030 100644 (file)
@@ -57,13 +57,13 @@ class UpdateServerPeers
                $total = 0;
                $added = 0;
                foreach ($peers as $peer) {
-                       if (Network::isUrlBlocked('http://' . $peer)) {
+                       if (Network::isUrlBlocked('https://' . $peer)) {
                                // Ignore blocked systems as soon as possible in the loop to avoid being slowed down by tar pits
                                continue;
                        }
 
                        ++$total;
-                       if (DBA::exists('gserver', ['nurl' => Strings::normaliseLink('http://' . $peer)])) {
+                       if (DBA::exists('gserver', ['nurl' => Strings::normaliseLink('https://' . $peer)])) {
                                // We already know this server
                                continue;
                        }