mirror of
https://github.com/xfgryujk/blivechat.git
synced 2024-12-25 20:30:28 +08:00
32 lines
565 B
JSON
32 lines
565 B
JSON
{
|
|
"$schema": "https://openapi.vercel.sh/vercel.json",
|
|
"cleanUrls": true,
|
|
"trailingSlash": false,
|
|
"headers": [
|
|
{
|
|
"source": "/((?!api/)[^.]*)",
|
|
"headers": [
|
|
{
|
|
"key": "Cache-Control",
|
|
"value": "public, max-age=180"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"source": "/((?!api/).+\\.\\w+)",
|
|
"headers": [
|
|
{
|
|
"key": "Cache-Control",
|
|
"value": "public, max-age=86400"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"rewrites": [
|
|
{
|
|
"source": "/((?!api/)[^.]+)",
|
|
"destination": "/"
|
|
}
|
|
]
|
|
}
|