This commit is contained in:
archer
2023-08-23 18:21:11 +08:00
parent a3c4a856fa
commit f8fc53811c
6 changed files with 143 additions and 15 deletions

52
docSite/vercel.json Normal file
View File

@@ -0,0 +1,52 @@
{
"redirects": [
{
"source": "/",
"destination": "/docs"
},
{
"source": "/imgs/:path*",
"destination": "https://cdn.jsdelivr.us/gh/yangchuansheng/FastGPT@main/docSite/assets/imgs/:path*"
}
],
"headers": [
{
"source": "/(.*)",
"headers": [
{
"key": "X-Content-Type-Options",
"value": "nosniff"
},
{
"key": "X-Frame-Options",
"value": "SAMEORIGIN"
},
{
"key": "X-XSS-Protection",
"value": "1; mode=block"
},
{
"key": "Referrer-Policy",
"value": "strict-origin"
},
{
"key": "Permissions-Policy",
"value": "geolocation=(self), microphone=()"
}
]
},
{
"source": "/docs/fonts/:all*(woff2)",
"headers": [
{
"key": "Cache-Control",
"value": "public, max-age=31536000, immutable"
}
]
}
],
"trailingSlash": true,
"github": {
"enabled": false
}
}