- 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> |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| auth.py | ||
| v1.py | ||
| v2.py | ||