vercel.json (1357B)
1 { 2 "$schema": "https://openapi.vercel.sh/vercel.json", 3 "framework": "astro", 4 "buildCommand": "npm run build", 5 "installCommand": "npm ci", 6 "outputDirectory": "dist", 7 "cleanUrls": true, 8 "trailingSlash": false, 9 "headers": [ 10 { 11 "source": "/(.*)", 12 "headers": [ 13 { 14 "key": "X-Content-Type-Options", 15 "value": "nosniff" 16 }, 17 { 18 "key": "Referrer-Policy", 19 "value": "strict-origin-when-cross-origin" 20 }, 21 { 22 "key": "X-Frame-Options", 23 "value": "SAMEORIGIN" 24 }, 25 { 26 "key": "Content-Security-Policy", 27 "value": "frame-ancestors 'self'" 28 }, 29 { 30 "key": "Permissions-Policy", 31 "value": "camera=(), microphone=(), geolocation=(), browsing-topics=()" 32 }, 33 { 34 "key": "Strict-Transport-Security", 35 "value": "max-age=63072000; includeSubDomains" 36 } 37 ] 38 }, 39 { 40 "source": "/data/index-(.*).json", 41 "headers": [ 42 { 43 "key": "Cache-Control", 44 "value": "public, max-age=31536000, immutable" 45 } 46 ] 47 }, 48 { 49 "source": "/data/techniques.json", 50 "headers": [ 51 { 52 "key": "Cache-Control", 53 "value": "public, max-age=600, must-revalidate" 54 } 55 ] 56 } 57 ] 58 }