mirror of https://gitlab.com/curben/blog
Remove brotli header
netlify doesn't seem to support it Revertd15c2d2c7b
and60de0c28c4
This commit is contained in:
parent
d15c2d2c7b
commit
3f0d87f8aa
36
netlify.toml
36
netlify.toml
|
@ -8,39 +8,3 @@
|
||||||
X-Frame-Options = "DENY"
|
X-Frame-Options = "DENY"
|
||||||
X-XSS-Protection = "1; mode=block"
|
X-XSS-Protection = "1; mode=block"
|
||||||
X-Content-Type-Options = "nosniff"
|
X-Content-Type-Options = "nosniff"
|
||||||
|
|
||||||
[[headers]]
|
|
||||||
for = "/js/typing.js.br"
|
|
||||||
[headers.values]
|
|
||||||
Content-Encoding = "br"
|
|
||||||
Content-Type = "application/javascript; charset=utf-8"
|
|
||||||
|
|
||||||
[[headers]]
|
|
||||||
for = "/js/sri-fallback.min.js.br"
|
|
||||||
[headers.values]
|
|
||||||
Content-Encoding = "br"
|
|
||||||
Content-Type = "application/javascript; charset=utf-8"
|
|
||||||
|
|
||||||
[[headers]]
|
|
||||||
for = "/css/typing.css.br"
|
|
||||||
[headers.values]
|
|
||||||
Content-Encoding = "br"
|
|
||||||
Content-Type = "text/css; charset=utf-8"
|
|
||||||
|
|
||||||
[[redirects]]
|
|
||||||
from = "/js/typing.js"
|
|
||||||
to = "/js/typing.js.br"
|
|
||||||
status = 200
|
|
||||||
force = true
|
|
||||||
|
|
||||||
[[redirects]]
|
|
||||||
from = "/js/sri-fallback.min.js"
|
|
||||||
to = "/js/sri-fallback.min.js.br"
|
|
||||||
status = 200
|
|
||||||
force = true
|
|
||||||
|
|
||||||
[[redirects]]
|
|
||||||
from = "/css/typing.css"
|
|
||||||
to = "/css/typing.css.br"
|
|
||||||
status = 200
|
|
||||||
force = true
|
|
||||||
|
|
|
@ -2,15 +2,3 @@
|
||||||
X-Frame-Options: DENY
|
X-Frame-Options: DENY
|
||||||
X-XSS-Protection: 1; mode=block
|
X-XSS-Protection: 1; mode=block
|
||||||
X-Content-Type-Options: nosniff
|
X-Content-Type-Options: nosniff
|
||||||
|
|
||||||
/js/typing.js.br
|
|
||||||
Content-Encoding: br
|
|
||||||
Content-Type: application/javascript; charset=utf-8
|
|
||||||
|
|
||||||
/js/sr-fallback.min.js.br
|
|
||||||
Content-Encoding: br
|
|
||||||
Content-Type: application/javascript; charset=utf-8
|
|
||||||
|
|
||||||
/css/typing.css.br
|
|
||||||
Content-Encoding: br
|
|
||||||
Content-Type: text/css; charset=utf-8
|
|
||||||
|
|
Loading…
Reference in New Issue