From 3e8754afedb474ed46e495f208aa2353f6bf3511 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rapha=C3=ABl=20Gertz?= Date: Wed, 21 Jun 2017 11:07:07 +0200 Subject: [PATCH] Fix script for prod --- Acme.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.41.1