update
This commit is contained in:
@@ -75,7 +75,7 @@ async def download_html(guide_id: str):
|
||||
html_path, _ = final_paths(guide["topic"], guide["format"])
|
||||
if not html_path.exists():
|
||||
raise HTTPException(404, "Datei nicht gefunden")
|
||||
return FileResponse(html_path, filename=html_path.name, media_type="text/html")
|
||||
return FileResponse(html_path, media_type="text/html", content_disposition_type="inline")
|
||||
|
||||
|
||||
@router.post("/guides/{guide_id}/rework")
|
||||
|
||||
Reference in New Issue
Block a user