Skip to content

Commit

Permalink
Merge pull request #3258 from metacpan/haarg/small-cleanups
Browse files Browse the repository at this point in the history
small cleanups
  • Loading branch information
haarg authored Dec 29, 2024
2 parents 6cd2c89 + 6c15ace commit f1b9dcf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 1 addition & 0 deletions lib/MetaCPAN/Web/Controller/Root.pm
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ sub robots : Path("robots.txt") : Args(0) {
$c->browser_max_age('1d');
$c->cdn_max_age('1y');

$c->res->content_type('text/plain');
$c->stash( {
template => 'robots.txt',
} );
Expand Down
4 changes: 1 addition & 3 deletions t/html.t
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,7 @@ use File::Find ();
use Path::Tiny qw( path );

# files that have inline <script> tags
my %skip = map { $_ => 1 } (
'root/about/contributors.tx', 'root/account/profile.tx', 'root/base.tx',
);
my %skip = map { $_ => 1 } ();

File::Find::find(
{
Expand Down

0 comments on commit f1b9dcf

Please sign in to comment.