Skip to content

Commit

Permalink
use a 302 for root redirect, add a basic test
Browse files Browse the repository at this point in the history
  • Loading branch information
jberger committed Nov 18, 2016
1 parent d986d00 commit eace5f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/MetaCPAN/Server/Controller/Root.pm
Expand Up @@ -20,7 +20,7 @@ sub all : Path('') : Args(0) {
my ( $self, $c ) = @_;
$c->res->redirect(
'https://github.com/metacpan/metacpan-api/blob/master/docs/API-docs.md',
301
302
);
}

Expand Down

0 comments on commit eace5f7

Please sign in to comment.