Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Make github pushes work again
  • Loading branch information
sorear committed Jun 14, 2011
1 parent 710078d commit 46fdf61
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions push.psgi
Expand Up @@ -31,7 +31,7 @@ sub report {
my $blob = decode_json $bits;

my @tgt = map { my ($a,$b) = split ',', $_; [ $a, "#$b" ] }
split '\+', $tgt;
split ' ', $tgt;

return if $blob->{ref} !~ m#^refs/heads/(.*)#;

Expand Down Expand Up @@ -86,7 +86,7 @@ my $app = sub {
my $env = shift;
my $req = Plack::Request->new($env);

return NOT_FOUND if $req->path_info ne '/dalek' || $req->method ne 'POST';
return NOT_FOUND if $req->path_info !~ m#^/dalek# || $req->method ne 'POST';

my $bits = $req->param('payload');
my $tgt = $req->param('t');
Expand Down

0 comments on commit 46fdf61

Please sign in to comment.