Remove Link header
authorMarius Gavrilescu <marius@ieval.ro>
Thu, 2 Apr 2015 09:31:53 +0000 (12:31 +0300)
committerMarius Gavrilescu <marius@ieval.ro>
Thu, 2 Apr 2015 09:31:53 +0000 (12:31 +0300)
app.psgi

index 6a1125a4f283b3d7d976f561c11a0707c12dc295..a13a73e4965ba82ca2d26b8a40a8c094d2bb3094 100644 (file)
--- 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', '</static/slate.css>; rel=stylesheet') if $hdrs->get('Content-Type') =~ m,^text/html,;
                $resp->[1] = $hdrs->headers;
                $resp;
        }
This page took 0.010411 seconds and 4 git commands to generate.