-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathvercel.json
More file actions
42 lines (42 loc) · 1.22 KB
/
vercel.json
File metadata and controls
42 lines (42 loc) · 1.22 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
30
31
32
33
34
35
36
37
38
39
40
41
42
{
"$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": ""
}
},
"functions": {
"api/**/*.js": {
"maxDuration": 60,
"includeFiles": "api/node_modules/**,api/dist/**"
}
},
"headers": [
{
"source": "/_studio/assets/(.*)",
"headers": [
{ "key": "Cache-Control", "value": "public, max-age=31536000, immutable" }
]
},
{
"source": "/_account/assets/(.*)",
"headers": [
{ "key": "Cache-Control", "value": "public, max-age=31536000, immutable" }
]
}
],
"redirects": [
{ "source": "/", "destination": "/_studio/", "permanent": false },
{ "source": "/_studio", "destination": "/_studio/", "permanent": false },
{ "source": "/_account", "destination": "/_account/", "permanent": false }
],
"rewrites": [
{ "source": "/api/:path*", "destination": "/api/[[...route]]" },
{ "source": "/_studio/:path*", "destination": "/_studio/index.html" },
{ "source": "/_account/:path*", "destination": "/_account/index.html" }
]
}