-
-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathvercel.json
More file actions
18 lines (17 loc) · 565 Bytes
/
Copy pathvercel.json
File metadata and controls
18 lines (17 loc) · 565 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
{
"$schema": "https://openapi.vercel.sh/vercel.json",
"buildCommand": "bun run build",
"outputDirectory": "public",
"installCommand": "bun install",
"headers": [
{
"source": "/(.*).json",
"headers": [
{ "key": "Access-Control-Allow-Origin", "value": "https://sperax.io" },
{ "key": "Access-Control-Allow-Methods", "value": "GET, OPTIONS" },
{ "key": "Cache-Control", "value": "public, max-age=3600, s-maxage=86400, stale-while-revalidate=604800" },
{ "key": "Vary", "value": "Origin" }
]
}
]
}