Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Update projects list, feather is no more.
  • Loading branch information
coke committed May 19, 2015
1 parent 1e4ea3a commit f704eda
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/build/panda-state.p6
Expand Up @@ -37,10 +37,10 @@ sub fetch-projects-json($to) {
if %*ENV<http_proxy> {
my ($host, $port) = %*ENV<http_proxy>.split('/').[2].split(':');
$s = IO::Socket::INET.new(host=>$host, port=>$port.Int);
$s.send("GET http://feather.perl6.nl:3000/projects.json HTTP/1.1\nHost: feather.perl6.nl\nAccept: */*\nConnection: Close\n\n");
$s.send("GET http://ecosystem-api.p6c.org/projects.json HTTP/1.1\nHost: ecosystem-api.p6c.org\nAccept: */*\nConnection: Close\n\n");
}
else {
$s = IO::Socket::INET.new(:host<feather.perl6.nl>, :port(3000));
$s = IO::Socket::INET.new(:host<ecosystem-api.p6c.org>, :port(80));
$s.send("GET /projects.json HTTP/1.0\n\n");
}
my ($buf, $g) = '';
Expand Down

0 comments on commit f704eda

Please sign in to comment.