Skip to content

Commit

Permalink
chor: update config to make .latest can be visit
Browse files Browse the repository at this point in the history
  • Loading branch information
lizheming committed Oct 25, 2020
1 parent d6ec892 commit 938bf2f
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions vercel.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,25 @@
{
"src": "vercel.js",
"use": "@vercel/node"
},
{
"src": "www/release/*",
"use": "@vercel/static"
},
{
"src": "www/release/v1/*",
"use": "@vercel/static"
}
],
"routes": [
{
"src": "/release/.latest",
"dest": "/www/release/.latest"
},
{
"src": "/release/v1/.latest",
"dest": "/www/release/v1/.latest"
},
{
"src": "/(.*)",
"dest": "/vercel.js"
Expand Down

0 comments on commit 938bf2f

Please sign in to comment.