feat: Add Vercel deployment configuration and a commercialization documentation file.

This commit is contained in:
2569718930@qq.com
2026-03-06 08:17:50 +08:00
parent 1aa5bbb73f
commit b210dcf0dd
2 changed files with 62 additions and 0 deletions
+27
View File
@@ -0,0 +1,27 @@
{
"version": 2,
"builds": [
{
"src": "web/app.py",
"use": "@vercel/python"
},
{
"src": "web/static/**",
"use": "@vercel/static"
}
],
"routes": [
{
"src": "/api/(.*)",
"dest": "web/app.py"
},
{
"src": "/static/(.*)",
"dest": "/web/static/$1"
},
{
"src": "/(.*)",
"dest": "/web/static/index.html"
}
]
}