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 0989c4f commit 76f5b54
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions vercel.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"headers": [
{
"source": "/assets/*/(.*)",
"headers": [
{
"key": "Cache-Control",
"value": "max-age=31536000, immutable"
}
]
}
]
}

1 comment on commit 76f5b54

@vercel
Copy link

@vercel vercel bot commented on 76f5b54 Jul 9, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Deployment failed with the following error:

Header at index 0 has invalid `source` pattern "/assets/*/(.*)".

Learn More: https://vercel.link/invalid-route-source-pattern

Please sign in to comment.