From 0efcd74902e47c1372ca4b1ee0767cfe24582b6d Mon Sep 17 00:00:00 2001 From: saiminh Date: Mon, 30 Oct 2023 15:37:08 +0100 Subject: [PATCH] security headers --- netlify.toml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/netlify.toml b/netlify.toml index ba04d62..2760c99 100644 --- a/netlify.toml +++ b/netlify.toml @@ -1,4 +1,12 @@ [build] command = "npm run build" publish = "build" -functions = "functions/" \ No newline at end of file +functions = "functions/" + +[[headers]] + for = "/*" + [headers.values] + X-Frame-Options = "SAMEORIGIN" + X-XSS-Protection = "0" + X-Content-Type-Options = "nosniff" + Content-Security-Policy = "default-src 'self' res.cloudinary.com use.typekit.net;" \ No newline at end of file