Commit Graph

15 Commits

Author SHA1 Message Date
cnbugs d0b7ed3245 修复service硬编码路径问题:动态替换部署路径,支持任意目录部署 2026-05-13 12:05:40 +08:00
cnbugs 4213c720c7 彻底修复cp目标不是目录问题:先删除旧dist再重建目录 2026-05-13 12:04:18 +08:00
cnbugs 8cc9dbc069 修复cp目标不存在问题:添加mkdir -p backend/dist确保目录存在 2026-05-13 12:03:07 +08:00
cnbugs f79fd3ab22 彻底解决tsconfig找不到问题:移除@vue/tsconfig依赖,配置直接内联 2026-05-13 12:02:06 +08:00
cnbugs 0524edd0e9 修复tsconfig找不到问题:添加缺失的@vue/tsconfig依赖 2026-05-13 12:00:23 +08:00
cnbugs 8b1c124092 修复vite找不到的问题:添加--include=dev参数强制安装dev依赖 2026-05-13 11:59:30 +08:00
cnbugs 96cbe6d971 修复前端编译vue-tsc找不到的问题:移除npm install --production参数 2026-05-13 11:57:22 +08:00
cnbugs 7d86d9f188 恢复前端缺失的配置文件 2026-05-13 11:47:56 +08:00
cnbugs c453d3425d 修复MIME类型错误:静态资源404直接返回 + 支持自定义base路径 2026-05-13 11:08:18 +08:00
cnbugs fd7557539f add 一键部署脚本 + systemd服务脚本 2026-05-13 11:03:18 +08:00
cnbugs a9842e9212 v0.01: 修复死锁Bug + DNS-01默认 + 超时调整 2026-05-13 10:58:29 +08:00
cnbugs 3fa77d9bc0 refactor: replace SQLite/GORM with JSON file storage
- Remove GORM and SQLite, use simple JSON file (data/certs.json) for persistence
- CertStore with sync.RWMutex for thread-safe in-memory cache
- All handlers updated to use config.Store instead of config.DB
- Cron job and stats updated accordingly
- go mod tidy removes unused gorm/sqlite dependencies
2026-05-12 15:27:10 +08:00
cnbugs d0e738e1ef fix: use SQLite upsert to eliminate race condition on domain uniqueness constraint
Previously the CreateCertificate handler checked domain existence and then
inserted separately, creating a race window where concurrent requests could
both pass the check and trigger 'UNIQUE constraint failed' on INSERT.

Now uses SQLite's native INSERT ... ON CONFLICT (upsert) which atomically
handles the uniqueness constraint at the database level, eliminating the
race condition entirely.
2026-05-12 15:22:30 +08:00
cnbugs 0703dffb90 fix: 处理域名重复申请问题,支持重试失败/过期的证书 2026-05-12 15:01:07 +08:00
cnbugs 1775d4b4fc feat: AutoSSL certificate management tool with Web UI 2026-05-12 14:55:10 +08:00