mirror of
https://github.com/labring/FastGPT.git
synced 2025-07-22 20:37:48 +00:00
docs
This commit is contained in:
52
docSite/vercel.json
Normal file
52
docSite/vercel.json
Normal 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
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user