From 27902ef9f72039dcc0e24942a9d531882a111fd5 Mon Sep 17 00:00:00 2001 From: shlee9999 <95556588+shlee9999@users.noreply.github.com> Date: Sun, 17 Nov 2024 14:45:00 +0900 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Fix:=20csp-xss=20=EC=98=A4?= =?UTF-8?q?=EB=A5=98=20report=20only=20=EC=84=A4=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lighthouserc.cjs | 3 +++ src/App.tsx | 8 -------- 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/lighthouserc.cjs b/lighthouserc.cjs index a835b24..aa08f34 100644 --- a/lighthouserc.cjs +++ b/lighthouserc.cjs @@ -13,6 +13,9 @@ module.exports = { }, assert: { preset: 'lighthouse:recommended', + assertions: { + 'csp-xss': ['warn', {}], + }, }, }, } diff --git a/src/App.tsx b/src/App.tsx index c7134f5..81008b3 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -18,14 +18,6 @@ function App() { DDang -