-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy pathvercel.json
More file actions
29 lines (29 loc) · 1.72 KB
/
vercel.json
File metadata and controls
29 lines (29 loc) · 1.72 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{
"$schema": "https://openapi.vercel.sh/vercel.json",
"installCommand": "npm ci",
"buildCommand": "npm run build -w @vcad/ir && npm run build -w @vcad/engine && npm run build -w @vcad/core && npm run build -w @vcad/mcp && npm run build -w @vcad/app",
"outputDirectory": "packages/app/dist",
"rewrites": [
{ "source": "/~(.*)", "destination": "/" },
{ "source": "/d/(.*)", "destination": "/" },
{ "source": "/view/(.*)", "destination": "/" },
{ "source": "/@:path*", "destination": "/" },
{ "source": "/(privacy|terms|security)", "destination": "/" }
],
"headers": [
{
"source": "/(.*)",
"headers": [
{
"key": "Content-Security-Policy",
"value": "default-src 'self'; script-src 'self' 'wasm-unsafe-eval' https://*.vercel-insights.com https://*.vercel-analytics.com https://us.i.posthog.com https://us-assets.i.posthog.com; style-src 'self' 'unsafe-inline'; img-src 'self' data: blob: https:; font-src 'self' data:; connect-src 'self' https://yteuhwciuxcbjwmabawj.supabase.co wss://yteuhwciuxcbjwmabawj.supabase.co https://*.vercel-insights.com https://*.vercel-analytics.com https://us.i.posthog.com https://us-assets.i.posthog.com; worker-src 'self' blob:; frame-ancestors 'none'; base-uri 'self'; object-src 'none'; form-action 'self'"
},
{ "key": "X-Content-Type-Options", "value": "nosniff" },
{ "key": "Referrer-Policy", "value": "strict-origin-when-cross-origin" },
{ "key": "X-Frame-Options", "value": "DENY" },
{ "key": "Permissions-Policy", "value": "camera=(), microphone=(), geolocation=(), payment=()" },
{ "key": "Strict-Transport-Security", "value": "max-age=63072000; includeSubDomains; preload" }
]
}
]
}