mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 05:07:41 +00:00
Use .json.txt for diagnostics download filetype (#65236)
This commit is contained in:
parent
26905115c8
commit
8e71e2e8ee
@ -170,7 +170,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"'},
|
||||
headers={"Content-Disposition": f'attachment; filename="{filename}.json.txt"'},
|
||||
)
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user