From 67448d00bb4bb145f018de4cd435b62d93154da6 Mon Sep 17 00:00:00 2001 From: curben Date: Mon, 1 Oct 2018 17:07:16 +0930 Subject: [PATCH] Remove content-encoding header netlify doesn't seem to support brotli compression --- netlify.toml | 15 --------------- source/_headers | 8 -------- 2 files changed, 23 deletions(-) diff --git a/netlify.toml b/netlify.toml index 1d663ab..81c1126 100644 --- a/netlify.toml +++ b/netlify.toml @@ -8,18 +8,3 @@ X-Frame-Options = "DENY" X-XSS-Protection = "1; mode=block" X-Content-Type-Options = "nosniff" - -[[headers]] - for = "/*.html" - [headers.value] - Content-Encoding = "gzip, br" - -[[headers]] - for = "/*.css" - [headers.value] - Content-Encoding = "gzip, br" - -[[headers]] - for = "/*.js" - [headers.value] - Content-Encoding = "gzip, br" diff --git a/source/_headers b/source/_headers index 8a183ad..d01449d 100644 --- a/source/_headers +++ b/source/_headers @@ -3,11 +3,3 @@ X-XSS-Protection: 1; mode=block X-Content-Type-Options: nosniff -/*.html - Content-Encoding: gzip, br - -/*.css - Content-Encoding: gzip, br - -/*.js - Content-Encoding: gzip, br