mirror of https://github.com/home-assistant/core
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(
|
||||
body=json_data,
|
||||
content_type="application/json",
|
||||
headers={"Content-Disposition": f'attachment; filename="{filename}.json.txt"'},
|
||||
headers={"Content-Disposition": f'attachment; filename="{filename}.json"'},
|
||||
)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue