支持 Vercel 部署

This commit is contained in:
imsyy
2023-03-24 16:24:54 +08:00
parent 1dd856fc99
commit 6f02d92860
2 changed files with 18 additions and 2 deletions

15
vercel.json Normal file
View File

@@ -0,0 +1,15 @@
{
"version": 2,
"builds": [
{
"src": "./index.js",
"use": "@vercel/node@2.5.10"
}
],
"routes": [
{
"src": "/(.*)",
"dest": "/"
}
]
}