forked from lobehub/lobehub
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvercel.json
More file actions
63 lines (63 loc) 路 1.52 KB
/
Copy pathvercel.json
File metadata and controls
63 lines (63 loc) 路 1.52 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
{
"buildCommand": "bun run build:vercel",
"headers": [
{
"source": "/_spa/(.*)",
"headers": [
{
"key": "Cache-Control",
"value": "public, max-age=86400, s-maxage=86400, stale-while-revalidate=604800, stale-if-error=86400, immutable"
},
{
"key": "CDN-Cache-Control",
"value": "public, max-age=86400, s-maxage=86400, stale-while-revalidate=604800, stale-if-error=86400, immutable"
}
]
},
{
"source": "/_dangerous_local_dev_proxy",
"headers": [
{
"key": "Cache-Control",
"value": "no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"
},
{
"key": "Pragma",
"value": "no-cache"
},
{
"key": "Expires",
"value": "0"
}
]
},
{
"source": "/_dangerous_local_dev_proxy/:path*",
"headers": [
{
"key": "Cache-Control",
"value": "no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"
},
{
"key": "Pragma",
"value": "no-cache"
},
{
"key": "Expires",
"value": "0"
}
]
}
],
"installCommand": "npx pnpm@10.26.2 install",
"rewrites": [
{
"source": "/_dangerous_local_dev_proxy",
"destination": "/_dangerous_local_dev_proxy.html"
},
{
"source": "/_dangerous_local_dev_proxy/:path*",
"destination": "/_dangerous_local_dev_proxy.html"
}
]
}