Support pulling PGNs from HTTPS.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Sun, 13 Nov 2016 18:12:12 +0000 (19:12 +0100)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Sun, 13 Nov 2016 18:12:12 +0000 (19:12 +0100)
remoteglot.pl

index 6443c31..5e1e94a 100755 (executable)
@@ -121,7 +121,7 @@ my $ev1 = AnyEvent->io(
        }
 );
 if (defined($remoteglotconf::target)) {
-       if ($remoteglotconf::target =~ /^http:/) {
+       if ($remoteglotconf::target =~ /^https?:/) {
                fetch_pgn($remoteglotconf::target);
        } else {
                $t->cmd("observe $remoteglotconf::target");