Skip to content

Commit

Permalink
chore: 修改vercel.json
Browse files Browse the repository at this point in the history
  • Loading branch information
xugaoyi committed Jul 9, 2023
1 parent 76f5b54 commit 82938e5
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion vercel.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,16 @@
{
"headers": [
{
"source": "/assets/*/(.*)",
"source": "/assets/js/(.*)",
"headers": [
{
"key": "Cache-Control",
"value": "max-age=31536000, immutable"
}
]
},
{
"source": "/assets/css/(.*)",
"headers": [
{
"key": "Cache-Control",
Expand Down

0 comments on commit 82938e5

Please sign in to comment.