diff options
author | nachoparker <nacho@ownyourbits.com> | 2017-09-30 12:28:36 +0300 |
---|---|---|
committer | nachoparker <nacho@ownyourbits.com> | 2017-09-30 12:30:15 +0300 |
commit | 2f83da0858c67e4febd928795aae33208d34a239 (patch) | |
tree | eef25648c498a85492fae93ad90ab9fd32bb31cf /ncp-web | |
parent | 8c590e99b0e666164b5ffde3eebd7d02dc51a593 (diff) |
ncp-web: remove http2 push headers. They dont play well with pwauth (#224)v0.31.2
Diffstat (limited to 'ncp-web')
-rw-r--r-- | ncp-web/index.php | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/ncp-web/index.php b/ncp-web/index.php index 2d0988da..488fb550 100644 --- a/ncp-web/index.php +++ b/ncp-web/index.php @@ -30,9 +30,6 @@ ini_set('session.cookie_httponly', 1); if ( isset($_SERVER['HTTPS']) ) ini_set('session.cookie_secure', 1); - - // HTTP2 push headers - header("Link: </minified.js>; rel=preload; as=script;,</ncp.js>; rel=preload; as=script;,</ncp.css>; rel=preload; as=style;,</ncp-logo.png>; rel=preload; as=image;, </loading-small.gif>; rel=preload; as=image;, rel=preconnect href=ncp-launcher.php;"); ?> <link rel="icon" type="image/png" href="favicon.png" /> <link rel="stylesheet" href="ncp.css"> |