From 02551fca4113b04529b507439cdc24ffc4286687 Mon Sep 17 00:00:00 2001 From: Alok Date: Mon, 8 Jul 2024 23:34:04 +0530 Subject: [PATCH] update headers --- public/_headers | 20 ++++++-------------- 1 file changed, 6 insertions(+), 14 deletions(-) diff --git a/public/_headers b/public/_headers index c9d7db86..a1258817 100644 --- a/public/_headers +++ b/public/_headers @@ -1,15 +1,7 @@ /* - X-XSS-Protection: 1; mode=block - X-Content-Type-Options: nosniff - Content-Security-Policy: form-action https: - Referrer-Policy: strict-origin-when-cross-origin - Strict-Transport-Security: max-age=31536000; includeSubDomains - Feature-Policy: geolocation 'none'; midi 'none'; sync-xhr 'none'; microphone 'none'; camera 'none'; magnetometer 'none'; gyroscope 'none'; fullscreen 'none'; payment 'none' - -/sw.js # Gatsby's default service worker file path - Cache-Control: public - Cache-Control: max-age=31536000 - -/static/* - Cache-Control: public - Cache-Control: max-age=31536000 + X-XSS-Protection: 1; mode=block + X-Content-Type-Options: nosniff + Content-Security-Policy: form-action https: + Referrer-Policy: strict-origin-when-cross-origin + Strict-Transport-Security: max-age=31536000; includeSubDomains + Feature-Policy: geolocation 'none'; midi 'none'; sync-xhr 'none'; microphone 'none'; camera 'none'; magnetometer 'none'; gyroscope 'none'; fullscreen 'none'; payment 'none'