X-Git-Url: https://git.rapsys.eu/acme/blobdiff_plain/69062154e727051692fbb442d46df17ab2c4b280..baefa26a7b8ea0eb362851dceb3cf3cfdffc86e8:/Acme.pm?ds=sidebyside diff --git a/Acme.pm b/Acme.pm index e4637d7..e928010 100644 --- a/Acme.pm +++ b/Acme.pm @@ -49,9 +49,6 @@ use Net::Domain::TLD; use POSIX qw(EXIT_FAILURE); use Tie::IxHash; -# Debug -use Data::Dumper; - # Documentation links #XXX: see https://letsencrypt.github.io/acme-spec/ (probably based on https://ietf-wg-acme.github.io/acme/) #XXX: see jwk rfc http://www.rfc-editor.org/rfc/rfc7517.txt @@ -327,7 +324,7 @@ sub directory { my $time = time; # Set directory - my $dir = $self->{prod} ? ACME_PROD_DIR : ACME_DIR; + my $dir = $self->{domain}{prod} ? ACME_PROD_DIR : ACME_DIR; # Create a request my $req = HTTP::Request->new(GET => $dir.'?'.$time);