From 12a6da65587d3a9aab6dcbaaf850d5893e962d09 Mon Sep 17 00:00:00 2001 From: Anshuman Pandey <54475686+pandeymangg@users.noreply.github.com> Date: Tue, 9 Jul 2024 13:58:10 +0530 Subject: [PATCH] fix: adds content type options header (#2824) Co-authored-by: Matti Nannt --- apps/web/next.config.mjs | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/apps/web/next.config.mjs b/apps/web/next.config.mjs index 546546a288..7dd8ed7e49 100644 --- a/apps/web/next.config.mjs +++ b/apps/web/next.config.mjs @@ -148,6 +148,15 @@ const nextConfig = { }, ], }, + { + source: "/(.*)", + headers: [ + { + key: "X-Content-Type-Options", + value: "nosniff", + }, + ], + }, ]; }, env: {