Skip to content

Commit 994d5ad

Browse files
GeneAIGeneAI
authored andcommitted
fix: Add Vercel trailingSlash config for framework-docs CSS
1 parent 0c56cfb commit 994d5ad

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

website/vercel.json

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,15 @@
11
{
2-
"redirects": [
2+
"trailingSlash": true,
3+
"cleanUrls": false,
4+
"headers": [
35
{
4-
"source": "/framework-docs/:path((?!.*\\.).+)",
5-
"destination": "/framework-docs/:path/",
6-
"permanent": true
6+
"source": "/framework-docs/(.*)",
7+
"headers": [
8+
{
9+
"key": "Cache-Control",
10+
"value": "public, max-age=0, must-revalidate"
11+
}
12+
]
713
}
814
]
915
}

0 commit comments

Comments
 (0)