Fix log download Content-Type to application/octet-stream

Browser auto-download requires binary MIME type, not text/plain.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
2026-06-27 14:34:11 +02:00
parent 30c0499869
commit c6d787c2c7
2 changed files with 1 additions and 19 deletions

View File

@@ -163,7 +163,7 @@ def download_file(
return FileResponse(
path=str(file_path),
filename=safe_name,
media_type="text/plain",
media_type="application/octet-stream",
)