golc
|
a7c082a162
|
fix: 修正 NestJS 构建产物路径为 dist/src
- 修复模块加载路径:dist/app.module -> dist/src/app.module
- 添加 Vercel 构建命令配置
- 确保 dist 目录在部署时被正确构建和包含
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
2026-03-04 11:38:05 +00:00 |
golc
|
43ad64dd41
|
fix: 修复 Vercel serverless 模块路径解析问题
使用 path.resolve 动态解析 dist 目录路径,确保在 Vercel
serverless 环境中正确加载编译后的模块。
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
2026-03-04 11:36:02 +00:00 |
lichao
|
914e156cc6
|
fix: 修复 Vercel 部署 404 和 Swagger 无法访问
- vercel.json: builds.src 从 package.json 改为 api/index.ts,routes.dest 从 /dist/api/index.js 改为 /api
- api/index.ts: 修正 require 路径,移除多余的 src/ 前缀
- api/index.ts: Swagger 挂载路径从 /api 改为 /docs,避免与 Vercel 函数路径冲突
- package.json: 添加 vercel-build 脚本确保部署前编译 NestJS
|
2026-03-04 19:30:07 +08:00 |
golc
|
f557f8581b
|
fix: 修复 Vercel serverless 运行时崩溃
关键修复:
- 使用 require() 而非 import() 动态加载编译后的模块
- 从 dist/src/ 路径加载模块(Vercel 构建后的路径)
- 移除 tsconfig 中对 api 目录的排除
- 配置 vercel.json 路由到 dist/api/index.js
技术说明:
- api/index.ts 会被编译到 dist/api/index.js
- 运行时从 dist/src/app.module 加载 NestJS 应用
- 使用 require 避免 TypeScript 编译时路径检查
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
2026-03-04 11:14:09 +00:00 |
golc
|
6cb67ead1e
|
fix: 配置 Vercel serverless 部署
核心修改:
- 添加 express 依赖
- 创建 api/index.ts 作为 Vercel serverless 入口
- 从 src/ 导入模块,TypeScript 编译到 dist/
- 排除 api/ 目录不被编译
- 简化 vercel.json 配置
- 更新 pnpm-lock.yaml
- 设置 Node.js 20.x
技术细节:
- Vercel 自动识别 api/ 目录为 serverless 函数
- api/index.ts 映射到 /api 路由
- 使用 ExpressAdapter 和缓存提升性能
- 配置 CORS、全局管道、Swagger 文档
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
2026-03-04 09:58:09 +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 |
lichao
|
c505421544
|
fix: use npx for nest build commands to avoid permission issues
|
2026-02-25 12:04:54 +00:00 |
lichao
|
1dc6715345
|
fix: add buildCommand and outputDirectory to vercel.json
|
2026-02-25 11:59:30 +00:00 |
lichao
|
5f50a97549
|
fix: configure CORS for Vercel frontend domain
|
2026-02-25 11:53:44 +00:00 |
golc
|
ec17b894a6
|
feat: initial commit with Vercel CI/CD
|
2026-02-25 09:42:55 +00:00 |
golc
|
443e2b6518
|
fix: 修正 Vercel 配置指向构建后的文件
- 将 vercel.json 中的入口文件从 src/main.ts 改为 dist/main.js
- 确保 Vercel 使用编译后的 JavaScript 文件
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
2026-02-24 14:26:22 +00:00 |
golc
|
bc8c265cd3
|
docs: 更新环境变量配置模板
- 添加 GROK_BASE_URL 配置说明
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
2026-02-24 14:08:25 +00:00 |
golc
|
c3284ac01b
|
security: 移除所有硬编码的敏感信息
- 使用环境变量替代硬编码的数据库密码
- 使用环境变量替代硬编码的 API 地址
- 更新 .env.example 添加 GROK_BASE_URL 配置
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
2026-02-24 14:03:57 +00:00 |
golc
|
ddf28ddbf1
|
security: 保护敏感信息
- 从 git 跟踪中移除 .env 文件
- 更新 .gitignore 忽略所有环境变量文件
- 添加 .env.example 作为配置模板
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
2026-02-24 13:58:21 +00:00 |
golc
|
b88b4d5156
|
feat: 迁移到 Vercel 部署
- 移除 Gitea Actions 配置
- 添加 Vercel 配置文件
- 配置 Serverless 函数路由
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
2026-02-24 13:50:35 +00:00 |
golc
|
be29688c85
|
fix: 修改 docker-compose 为 docker compose 命令
Backend CI/CD / build (push) Failing after 39s
Details
Backend CI/CD / deploy (push) Has been skipped
Details
- 适配新版本 Docker Compose CLI
- 确保 CI/CD 能正常执行部署
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
2026-02-24 13:33:34 +00:00 |
golc
|
7cd5ba6933
|
feat: 更新 CI/CD 配置为本地部署
Backend CI/CD / build (push) Failing after 44s
Details
Backend CI/CD / deploy (push) Has been skipped
Details
- 移除 SSH 远程部署方式
- 改为本地直接执行 Docker 命令
- 优化健康检查等待时间
- 添加部署成功后的访问地址提示
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
2026-02-24 13:23:58 +00:00 |
lichao
|
65a8c53176
|
feat: 更新 CI/CD 工作流,自动拉取代码并部署
Backend CI/CD / build (push) Failing after 32s
Details
Backend CI/CD / deploy (push) Has been skipped
Details
- 修改部署路径为 /root/self_proj
- 添加自动 git pull 步骤
- 简化部署流程
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
2026-02-24 20:23:00 +08:00 |
lichao
|
227a3c5b7b
|
feat: 添加管理员以及部署内容
Backend CI/CD / build (push) Failing after 37s
Details
Backend CI/CD / deploy (push) Has been skipped
Details
|
2026-02-24 20:17:59 +08:00 |
lichao
|
bc77a579c8
|
feat: 调整提示词
|
2026-02-24 18:47:50 +08:00 |
lichao
|
9366545b49
|
feat: 添加止损提示词
|
2026-02-23 16:09:39 +08:00 |
lichao
|
4aee7f9ffb
|
feat: 更新调用grok接口
|
2026-02-23 15:26:13 +08:00 |
lichao
|
8cd2cca57a
|
feat: 整理项目结构
|
2026-02-21 22:50:02 +08:00 |
lichao
|
aa62486f21
|
feat: 完善卡密管理模块,添加生成、激活、查询和撤销卡密功能
|
2025-12-15 00:07:54 +08:00 |
lichao
|
7274c58329
|
feat: 添加任务重新排序功能并增强任务实体属性。
|
2025-12-02 20:57:09 +08:00 |
lichao
|
1fe53ab9de
|
feat: 添加swagger文档支持
|
2025-10-25 17:55:05 +08:00 |
lichao
|
54486e8074
|
feat: 修改env,使用启动前数据库检查
|
2025-07-21 12:31:31 +01:00 |
lichao
|
8b5d7ed6dc
|
feat: 修复第三方登录的问题
|
2025-06-04 10:40:40 +01:00 |
lichao
|
7d5e734e39
|
feat: 飞书登录修改public路由
|
2025-05-30 09:59:53 +01:00 |
lichao
|
49a38f7bce
|
feat: 添加grok支持
|
2025-03-17 03:04:17 +00:00 |
lichao
|
0b2ac82f5c
|
feat: 添加deepSeek支持
|
2025-02-10 17:50:41 +08:00 |
lichao
|
1d5c6d2bd5
|
feat: 添加硅基流动相关接口
|
2025-02-08 17:52:54 +08:00 |
lichao
|
caa43298ef
|
feat: 添加jwt相关校验
|
2025-01-23 16:13:38 +08:00 |
lichao
|
3f4a7e4e55
|
feat: 添加cache缓存
|
2025-01-23 11:07:48 +08:00 |
lichao
|
219afa0353
|
feat: 添加飞书以及github登录
|
2025-01-15 15:55:59 +08:00 |
lichao
|
946be43558
|
feat: 添加token相关代码
|
2025-01-13 19:51:26 +08:00 |
lichao
|
d2f6d3ebcc
|
feat: 初始化项目
|
2025-01-08 19:46:50 +08:00 |