From: Steinar H. Gunderson Date: Sun, 13 Nov 2016 18:12:12 +0000 (+0100) Subject: Support pulling PGNs from HTTPS. X-Git-Url: https://git.sesse.net/?p=remoteglot;a=commitdiff_plain;h=ddc3383ef834627f59f3dd810e78040f6de2105b Support pulling PGNs from HTTPS. --- diff --git a/remoteglot.pl b/remoteglot.pl index 6443c31..5e1e94a 100755 --- a/remoteglot.pl +++ b/remoteglot.pl @@ -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");