Skip to content

Commit 450ab8b

Browse files
fix vercel output routing (#60)
1 parent 0d93246 commit 450ab8b

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

vercel/vercel/output/config.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,14 @@
77
},
88
{
99
"src": "/assets/(.*)",
10-
"dest": "/assets/$1"
10+
"dest": "/assets/$1",
11+
"headers": {
12+
"Cache-Control": "public, max-age=31536000, immutable"
13+
}
1114
},
1215
{
1316
"src": "/(.*)",
14-
"dest": "/"
17+
"dest": "/$1"
1518
}
1619
]
1720
}

0 commit comments

Comments
 (0)