Skip to content
This repository has been archived by the owner on Oct 15, 2022. It is now read-only.

Commit

Permalink
Merge pull request #161 from duckduckgo/zt/http-meta
Browse files Browse the repository at this point in the history
return to http for metadata
  • Loading branch information
moollaza committed Nov 18, 2015
2 parents a631eb4 + f9ea73a commit ae39be5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/DDG/Meta/Data.pm
Expand Up @@ -38,7 +38,7 @@ unless(%ia_metadata){
my $ua = LWP::UserAgent->new;
$ua->timeout(5);
$ua->default_header('Accept-Encoding' => scalar HTTP::Message::decodable());
my $res = $ua->mirror('https://ddg-community.s3.amazonaws.com/metadata/repo_all.json.bz2', $f);
my $res = $ua->mirror('http://ddg-community.s3.amazonaws.com/metadata/repo_all.json.bz2', $f);
unless($res->is_success || $res->code == 304){
debug && warn "Failed to download metdata: " . $res->status_line;
}
Expand Down

0 comments on commit ae39be5

Please sign in to comment.