Skip to content

Commit

Permalink
chore: add vercel.json to project root folder (#130)
Browse files Browse the repository at this point in the history
- Issue #128 from docs-pt

- Issue #2560 and #2664 from vuejs/docs

Contribution did by @viniciusdeliz
  • Loading branch information
viniciusdeliz authored Jan 14, 2024
1 parent 34c0e19 commit c1f3af9
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions vercel.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"$schema": "https://openapi.vercel.sh/vercel.json",
"headers": [
{
"source": "/assets/(.*)",
"headers": [
{
"key": "Cache-Control",
"value": "max-age=31536000, immutable"
}
]
},
{
"source": "/(.*).png",
"headers": [
{
"key": "Cache-Control",
"value": "max-age=604800, immutable"
}
]
}
],
"rewrites": [
{
"source": "/:path*",
"destination": "/:path*.html"
}
]
}

0 comments on commit c1f3af9

Please sign in to comment.