From 1734494d71629116d6d5f702f4ac079680bd4ca3 Mon Sep 17 00:00:00 2001 From: saurabhraghuvanshii Date: Sun, 20 Jul 2025 20:32:45 +0000 Subject: [PATCH 1/5] experminting clickjacking Signed-off-by: saurabhraghuvanshii --- src/html.js | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/html.js b/src/html.js index d10c848d7f944..7fe92b6c9125b 100644 --- a/src/html.js +++ b/src/html.js @@ -12,6 +12,10 @@ export default function HTML(props) { name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" /> + {/* eslint-disable-next-line react/no-unknown-property*/} Date: Sun, 20 Jul 2025 21:13:45 +0000 Subject: [PATCH 2/5] upadate meta tags Signed-off-by: saurabhraghuvanshii --- gatsby-config.js | 13 ------------- package.json | 1 - src/html.js | 8 +++++++- 3 files changed, 7 insertions(+), 15 deletions(-) diff --git a/gatsby-config.js b/gatsby-config.js index 62452b1dd5613..f4f6998d32f2b 100644 --- a/gatsby-config.js +++ b/gatsby-config.js @@ -17,19 +17,6 @@ module.exports = { }, trailingSlash: "never", plugins: [ - { - resolve: "gatsby-plugin-netlify", - options: { - headers: { - "/*": [ - "X-Frame-Options: SAMEORIGIN", - "Content-Security-Policy: frame-ancestors 'self'", - ], - }, - mergeSecurityHeaders: true, - mergeCachingHeaders: true, - }, - }, { resolve: "gatsby-plugin-webpack-bundle-analyser-v2", options: { diff --git a/package.json b/package.json index 191b0ee6f8835..112c3a4824b27 100644 --- a/package.json +++ b/package.json @@ -66,7 +66,6 @@ "gatsby-plugin-manifest": "^5.11.0", "gatsby-plugin-mdx": "3.20.0", "gatsby-plugin-meta-redirect": "github:layer5labs/gatsby-plugin-meta-redirect", - "gatsby-plugin-netlify": "^5.1.1", "gatsby-plugin-preload-fonts": "^4.11.0", "gatsby-plugin-robots-txt": "^1.8.0", "gatsby-plugin-sharp": "^5.11.0", diff --git a/src/html.js b/src/html.js index 7fe92b6c9125b..fc5098ed02f83 100644 --- a/src/html.js +++ b/src/html.js @@ -14,8 +14,14 @@ export default function HTML(props) { /> + + + + + + {/* eslint-disable-next-line react/no-unknown-property*/} Date: Sun, 20 Jul 2025 21:31:20 +0000 Subject: [PATCH 3/5] improve Signed-off-by: saurabhraghuvanshii --- src/html.js | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/html.js b/src/html.js index fc5098ed02f83..eb0e4cc2fa50b 100644 --- a/src/html.js +++ b/src/html.js @@ -16,12 +16,6 @@ export default function HTML(props) { httpEquiv="Content-Security-Policy" content="frame-ancestors 'self'; default-src 'self'; script-src 'self' 'unsafe-inline' 'unsafe-eval' https://fonts.gstatic.com https://v8hx52m354g0.statuspage.io; style-src 'self' 'unsafe-inline' https://fonts.googleapis.com; font-src 'self' https://fonts.gstatic.com; img-src 'self' data: https:; connect-src 'self' https:; frame-src 'self' https://www.youtube.com https://w.soundcloud.com https://calcotestudios.com https://docs.google.com https://us15.list-manage.com https://hook.us1.make.com https://hook.us2.make.com https://calcotestudios.us15.list-manage.com;" /> - - - - - - {/* eslint-disable-next-line react/no-unknown-property*/} Date: Sun, 20 Jul 2025 21:47:44 +0000 Subject: [PATCH 4/5] testing2 Signed-off-by: saurabhraghuvanshii --- src/html.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/html.js b/src/html.js index eb0e4cc2fa50b..7fe92b6c9125b 100644 --- a/src/html.js +++ b/src/html.js @@ -14,7 +14,7 @@ export default function HTML(props) { /> {/* eslint-disable-next-line react/no-unknown-property*/} From 5a3470531fe1aad987b9bc7afbbc3b0aa4b3720d Mon Sep 17 00:00:00 2001 From: saurabhraghuvanshii Date: Mon, 21 Jul 2025 13:16:26 +0000 Subject: [PATCH 5/5] testing Signed-off-by: saurabhraghuvanshii --- src/html.js | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/src/html.js b/src/html.js index 7fe92b6c9125b..188c8cb3b1649 100644 --- a/src/html.js +++ b/src/html.js @@ -30,12 +30,10 @@ export default function HTML(props) {