mirror of
https://github.com/home-assistant/core.git
synced 2025-07-16 09:47:13 +00:00
Remove obsolete .txt extension from diagnostics download (#108028)
This commit is contained in:
parent
aa3e172a65
commit
9bca09a513
@ -197,7 +197,7 @@ async def _async_get_json_file_response(
|
|||||||
return web.Response(
|
return web.Response(
|
||||||
body=json_data,
|
body=json_data,
|
||||||
content_type="application/json",
|
content_type="application/json",
|
||||||
headers={"Content-Disposition": f'attachment; filename="{filename}.json.txt"'},
|
headers={"Content-Disposition": f'attachment; filename="{filename}.json"'},
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user