diff --git a/vercel.json b/vercel.json index 6f633d04..7ee4e6f2 100644 --- a/vercel.json +++ b/vercel.json @@ -2,6 +2,33 @@ "installCommand": "npm ci --prefer-offline --no-audit --no-fund", "buildCommand": "npm run build", "framework": "sveltekit", + "headers": [ + { + "source": "/:path*", + "headers": [ + { + "key": "X-Frame-Options", + "value": "DENY" + }, + { + "key": "X-Content-Type-Options", + "value": "nosniff" + }, + { + "key": "Referrer-Policy", + "value": "strict-origin-when-cross-origin" + }, + { + "key": "Strict-Transport-Security", + "value": "max-age=63072000; includeSubDomains; preload" + }, + { + "key": "Cross-Origin-Opener-Policy", + "value": "same-origin" + } + ] + } + ], "redirects": [ { "source": "/showcase/:path",