mirror of
https://github.com/LukeHagar/vercel.git
synced 2025-12-06 04:22:01 +00:00
46 lines
988 B
JSON
46 lines
988 B
JSON
{
|
|
"$schema": "https://openapi.vercel.sh/vercel.json",
|
|
"rewrites": [
|
|
{
|
|
"source": "/",
|
|
"destination": "/api/frameworks"
|
|
},
|
|
{
|
|
"source": "/api/v1/frameworks",
|
|
"destination": "/api/frameworks"
|
|
},
|
|
{
|
|
"source": "/api/examples/list",
|
|
"destination": "/list.json"
|
|
},
|
|
{
|
|
"source": "/api/examples/list-all",
|
|
"destination": "/list-all.json"
|
|
}
|
|
],
|
|
"github": {
|
|
"silent": true,
|
|
"autoJobCancelation": true
|
|
},
|
|
"headers": [
|
|
{
|
|
"source": "/api(/v[0-9]+)?/frameworks",
|
|
"headers": [
|
|
{
|
|
"key": "cache-control",
|
|
"value": "public, max-age=60, s-maxage=500, stale-while-revalidate=500, stale-if-error=500"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"source": "/api/examples(.*)",
|
|
"headers": [
|
|
{
|
|
"key": "cache-control",
|
|
"value": "public, max-age=60, s-maxage=86400, stale-while-revalidate=86400, stale-if-error=86400"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|