From 723104126cada12023fcf6f3136cc72bb7d1c3cb Mon Sep 17 00:00:00 2001 From: Mohamed E Date: Fri, 4 Jun 2021 12:52:09 +0200 Subject: [PATCH] docs(readme): update `http-headers` task configs --- README.md | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 9a49b01..efa6525 100644 --- a/README.md +++ b/README.md @@ -48,7 +48,7 @@ plugins: [ purgecss: { enabled: true }, - 'netlify-headers': { + 'http-headers': { enabled: true } } @@ -67,11 +67,14 @@ plugins: [ ignore: ['resume/index.html'], allowSymbols: true }, - 'netlify-headers': { + 'http-headers': { enabled: true, - security: true, + provider: 'netlify', headers: { - '/*': ['X-Frame-Options: SAMEORIGIN'] + '[*]': { + 'X-Frame-Options': 'DENY', + 'X-XSS-Protection': '1; mode=block' + } } } }