Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Allow HTTP redirection
  • Loading branch information
raydiak committed Apr 25, 2014
1 parent f9c8436 commit e5af4fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/lib/P6Project.pm
Expand Up @@ -16,7 +16,7 @@ sub new {
my ($class, %opts) = @_;
my $self = \%opts;
$self->{output_dir} //= './';
my $ua = Mojo::UserAgent->new;
my $ua = Mojo::UserAgent->new(max_redirects => 10);
$ua->connect_timeout(10);
$ua->request_timeout(10);
$self->{ua} = $ua;
Expand Down

0 comments on commit e5af4fc

Please sign in to comment.