diff --git a/lib/Panda/Ecosystem.pm b/lib/Panda/Ecosystem.pm index afd323e..dfc2a9b 100644 --- a/lib/Panda/Ecosystem.pm +++ b/lib/Panda/Ecosystem.pm @@ -69,11 +69,11 @@ class Panda::Ecosystem { if %*ENV { my ($host, $port) = %*ENV.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, :port(3000)); - $s.send("GET /projects.json HTTP/1.0\n\n"); + $s = IO::Socket::INET.new(:host, :port(80)); + $s.send("GET /projects.json HTTP/1.0\nHost: ecosystem-api.p6c.org\n\n"); } my ($buf, $g) = ''; $buf ~= $g while $g = $s.get;