X-Git-Url: http://git.ieval.ro/?a=blobdiff_plain;f=app.psgi;h=b29127c24e3e1375ae8e65ea4c3ddddf98930beb;hb=102e5f47d996a42b8754b412be7be3c84820ab6c;hp=8fbc2c01337e9f910105510c77bea4fc6b95bdad;hpb=c492afe8ca9e40cf01b1902f3d3c6be24da11cfc;p=plack-app-gruntmaster.git diff --git a/app.psgi b/app.psgi index 8fbc2c0..b29127c 100644 --- a/app.psgi +++ b/app.psgi @@ -41,7 +41,6 @@ sub add_headers { my $resp = $app->($_[0]); my $hdrs = Plack::Util::headers($resp->[1]); $hdrs->set('Content-Security-Policy', CONTENT_SECURITY_POLICY); - $hdrs->set('Link', '; rel=stylesheet') if $hdrs->get('Content-Type') =~ m,^text/html,; $hdrs->set('Cache-Control', 'public, max-age=604800') if $_[0]->{PATH_INFO} =~ qr,^/static/,; $resp->[1] = $hdrs->headers; $resp;