fix: Use absolute paths for debug_dumps directory

- Changed debug_dumps path from relative to absolute (/app/debug_dumps)
- Updated direct_search_service.py to use consistent absolute path
- Updated debug.py router to use the same absolute path
- Added debug_dumps directory creation in Dockerfile
- Improved _dump_debug_html with safer filename handling
This commit is contained in:
Claude committed 2025-11-24 07:27:45 +00:00
1 parent 119e7e3963
commit a8ff8217b3
3 files changed
+21 -8

No files matched your search

+2 -1
View File
@@ -18,7 +18,8 @@ router = APIRouter(
logger = logging.getLogger(__name__)
DEBUG_DIR = "debug_dumps"
# Chemin absolu pour les dumps de débogage (doit correspondre à celui dans direct_search_service.py)
DEBUG_DIR = "/app/debug_dumps"
class DebugFile(BaseModel):
filename: str