diff --git a/lib/MetaCPAN/Script/Snapshot.pm b/lib/MetaCPAN/Script/Snapshot.pm index 42ca98b96..36fb64a25 100644 --- a/lib/MetaCPAN/Script/Snapshot.pm +++ b/lib/MetaCPAN/Script/Snapshot.pm @@ -81,7 +81,7 @@ has snap_name => ( has host => ( is => 'ro', - isa => Str, + isa => 'URI::http', default => sub { my $self = shift; return $self->es->transport->cxn_pool->cxns->[0]->uri;