fs-lawrisk/lawrisk
Codex Agent fe911592e0 fix: resolve server deployment image 404 errors and enhance admin UI
- Add dedicated image serving API endpoint (/admin/images/<filename>) with security whitelist
- Update image paths from /static/ to /fs-ai-asistant/api/workflow/lawrisk/admin/images/
- Add permit import sample file download endpoint
- Enhance import wizard UI with template/sample preview section
- Add risk count column to unbound permits table
- Filter out "不涉及" (not applicable) theme from theme list
- Improve permit import UX with better visual organization

This ensures images load correctly in server deployments (nginx, gunicorn) by using
the same API prefix as other admin resources, avoiding static file routing issues.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-02-04 13:51:20 +08:00
..
api fix: resolve server deployment image 404 errors and enhance admin UI 2026-02-04 13:51:20 +08:00
middleware refactor: 重新规划项目结构为标准Python包 2025-10-29 15:31:01 +08:00
services fix: resolve server deployment image 404 errors and enhance admin UI 2026-02-04 13:51:20 +08:00
utils feat: enhance permit details display and cleanup project directory 2025-12-20 16:53:57 +08:00
__init__.py refactor: 重新规划项目结构为标准Python包 2025-10-29 15:31:01 +08:00