Skip to content

Commit

Permalink
chore: add vercel config for translations (#2664)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jinjiang committed Jan 14, 2024
1 parent 98628dd commit d20200f
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 d20200f

Please sign in to comment.