Commit bc58c3d
committed
fix: converge-server 修复 Vercel Function 路由 404
- 移除 framework: null 和 outputDirectory: '.'
- Vercel 自动检测 api/ 为 Functions 目录并编译 TypeScript
- 新增 public/ 目录满足 Vercel 静态输出检测
- 添加 api/health.ts 到 functions 配置1 parent f99c312 commit bc58c3d
2 files changed
Lines changed: 4 additions & 2 deletions
Whitespace-only changes.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | 3 | | |
5 | 4 | | |
6 | | - | |
7 | 5 | | |
8 | 6 | | |
9 | 7 | | |
10 | 8 | | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
11 | 13 | | |
12 | 14 | | |
13 | 15 | | |
0 commit comments