golc
|
b235f2fdf6
|
fix: 修复 Vercel 部署路径和依赖问题
- 添加 express 依赖到 package.json
- 使用动态 import 加载构建后的模块
- 简化 vercel.json 配置,让 Vercel 自动处理构建
- 添加错误处理和日志输出
- 修复模块路径引用问题
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
2026-03-04 09:30:46 +00:00 |
golc
|
b91a17b071
|
merge: 合并 GitHub 远程更改并优化 serverless 配置
- 合并本地和远程的 api/index.ts 配置
- 使用 ExpressAdapter 提升 serverless 性能
- 保留全局过滤器和拦截器
- 保留 body-parser 大文件支持
- 统一 CORS 配置
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
2026-03-04 09:20:54 +00:00 |
golc
|
1d8213f6ed
|
feat: 配置 Vercel serverless 部署支持
- 更新 vercel.json 使用 serverless 函数入口
- 添加 api/index.ts 作为 Vercel serverless handler
- 添加 .env.vercel 环境变量配置模板
- 支持 Swagger 文档在 serverless 环境运行
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
2026-03-04 09:19:00 +00:00 |
lichao
|
1de8bae73d
|
feat: add Vercel serverless adapter for NestJS
|
2026-02-26 03:07:42 +00:00 |