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/3e8754afedb474ed46e495f208aa2353f6bf3511?ds=sidebyside;hp=ad8a3bd744842250ad5c0acd3ea8c312102de9ed 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);