2 Commits

Author SHA1 Message Date
hiderfong 34466a1ae9 fix: optimize compliance scan performance and improve error handling
- Refactor scan_compliance to eliminate N+1 queries using joinedload and batch loading
- Add try-except wrapper in compliance scan API endpoint
- Improve frontend axios error interceptor to display detail/message/timeout errors
- Update CORS config and nginx for domain deployment
2026-04-25 21:27:22 +08:00
hiderfong e7c7f92b69 chore: 补充生产部署配置
- requirements.txt 添加 requests 依赖
- 新增 docker-compose.prod.yml 生产编排文件
- 新增 frontend/Dockerfile.prod 前端生产镜像
- 新增 frontend/nginx.conf 反向代理配置
2026-04-25 10:45:25 +08:00