()
| 39 | |
| 40 | |
| 41 | def _static_root() -> Path: |
| 42 | if not _static_dir: |
| 43 | raise HTTPException(status_code=500, detail="Static directory not configured") |
| 44 | return Path(_static_dir).resolve() |
| 45 | |
| 46 | |
| 47 | def _safe_static_file(relative_path: str) -> Path: |
no test coverage detected