From 332458b14f4a1501b10fd32ad568360c7e1a8436 Mon Sep 17 00:00:00 2001 From: xHyroM Date: Mon, 2 Jan 2023 22:43:50 +0100 Subject: [PATCH] chore: add verel config for CSP --- vercel.json | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 vercel.json diff --git a/vercel.json b/vercel.json new file mode 100644 index 0000000..0e1ca2b --- /dev/null +++ b/vercel.json @@ -0,0 +1,13 @@ +{ + "headers": [ + { + "source": "/(.*)", + "headers" : [ + { + "key" : "Content-Security-Policy", + "value" : "img-src 'self'; font-src *; style-src 'self' 'unsafe-inline' fonts.googleapis.com; script-src 'self'; object-src 'none'" + } + ] + } + ] + } \ No newline at end of file