X-Git-Url: http://git.ieval.ro/?a=blobdiff_plain;f=app.psgi;h=b29127c24e3e1375ae8e65ea4c3ddddf98930beb;hb=d19d29a6945493994df05ac88beb4ef38a78b77e;hp=8fbc2c01337e9f910105510c77bea4fc6b95bdad;hpb=bdaa8919598cbbd8753fd6795b34b594b1b30805;p=gruntmaster-page.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;