-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathvercel.json
More file actions
35 lines (35 loc) · 915 Bytes
/
vercel.json
File metadata and controls
35 lines (35 loc) · 915 Bytes
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
30
31
32
33
34
35
{
"$schema": "https://openapi.vercel.sh/vercel.json",
"framework": null,
"installCommand": "cd ../.. && pnpm install",
"buildCommand": "bash scripts/build-vercel.sh",
"build": {
"env": {
"VITE_RUNTIME_MODE": "server",
"VITE_SERVER_URL": "",
"VERCEL": "true"
}
},
"functions": {
"api/**/*.js": {
"maxDuration": 60,
"includeFiles": "api/node_modules/**"
}
},
"headers": [
{
"source": "/_studio/assets/(.*)",
"headers": [
{ "key": "Cache-Control", "value": "public, max-age=31536000, immutable" }
]
}
],
"redirects": [
{ "source": "/", "destination": "/_studio", "permanent": false }
],
"rewrites": [
{ "source": "/api/:path*", "destination": "/api/[[...route]]" },
{ "source": "/_studio/(.*)", "destination": "/_studio/$1" },
{ "source": "/_studio", "destination": "/_studio/index.html" }
]
}