From: Raphaƫl Gertz Date: Wed, 21 Jun 2017 09:07:07 +0000 (+0200) Subject: Fix script for prod X-Git-Tag: 0.9.0 X-Git-Url: https://git.rapsys.eu/acme/commitdiff_plain/refs/tags/0.9.0 Fix script for prod --- diff --git a/Acme.pm b/Acme.pm index 134b3d4..e928010 100644 --- a/Acme.pm +++ b/Acme.pm @@ -324,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);