From 0d61f48bcf5334b01c7563f29e6d8b5dcf865cc6 Mon Sep 17 00:00:00 2001 From: Mahesh Rijal <62394512+maheshrijal@users.noreply.github.com> Date: Sun, 12 Jan 2025 17:53:36 +0530 Subject: [PATCH] feat: support vercel deploments --- vercel.json | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 vercel.json diff --git a/vercel.json b/vercel.json new file mode 100644 index 0000000..498b9cd --- /dev/null +++ b/vercel.json @@ -0,0 +1,35 @@ +{ + "headers": [ + { + "source": "/(.*)", + "headers": [ + { + "key": "Content-Security-Policy", + "value": "upgrade-insecure-requests;" + }, + { + "key": "X-Content-Type-Options", + "value": "nosniff" + }, + { + "key": "X-Frame-Options", + "value": "DENY" + }, + { + "key": "X-XSS-Protection", + "value": "1; mode=block" + }, + { + "key": "Referrer-Policy", + "value": "strict-origin-when-cross-origin" + }, + { + "key": "Permissions-Policy", + "value": "autoplay=(), camera=(), gyroscope=(), magnetometer=(), microphone=(), payment=(), publickey-credentials-get=()" + } + ] + } + ], + "buildCommand": "npm run build", + "outputDirectory": "dist" + }