Skip to content

Commit

Permalink
fix csp middleware
Browse files Browse the repository at this point in the history
  • Loading branch information
haarg committed Oct 30, 2024
1 parent 3fec941 commit 430b5d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Plack/Middleware/MetaCPAN/CSP.pm
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ sub call {
sub {
my $res = shift;
Plack::Util::header_set( $res->[1],
'Content-Security-Protocol' => $csp->header );
'Content-Security-Policy' => $csp->header_value );
}
);
}
Expand Down

0 comments on commit 430b5d3

Please sign in to comment.