mirror of
https://github.com/R0m1k3/Priceflow.git
synced 2026-10-20 05:38:12 +02:00
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:
3 files changed
+21
-8
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user