Skip to content
This repository was archived by the owner on Apr 20, 2026. It is now read-only.

Commit b55fc73

Browse files
committed
cdn: create vercel.json for cdn
1 parent 30cbbf7 commit b55fc73

1 file changed

Lines changed: 22 additions & 0 deletions

File tree

vercel.json

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
{
2+
"headers": [
3+
{
4+
"source": "/(.*)\\.(png|jpg|jpeg|gif|webp|svg|ico|woff2)",
5+
"headers": [
6+
{
7+
"key": "Cache-Control",
8+
"value": "public, max-age=31536000, immutable"
9+
}
10+
]
11+
},
12+
{
13+
"source": "/(.*)\\.(css|js)",
14+
"headers": [
15+
{
16+
"key": "Cache-Control",
17+
"value": "public, max-age=86400, immutable"
18+
}
19+
]
20+
}
21+
]
22+
}

0 commit comments

Comments
 (0)