mirror of
https://github.com/esphome/esphome.git
synced 2025-01-19 04:20:56 +00:00
Add factory to download name (#3040)
This commit is contained in:
parent
1fe89fb364
commit
cc0d433621
@ -416,7 +416,7 @@ class DownloadBinaryRequestHandler(BaseHandler):
|
|||||||
if storage_json is None:
|
if storage_json is None:
|
||||||
self.send_error(404)
|
self.send_error(404)
|
||||||
return
|
return
|
||||||
filename = f"{storage_json.name}.bin"
|
filename = f"{storage_json.name}-factory.bin"
|
||||||
path = storage_json.firmware_bin_path.replace(
|
path = storage_json.firmware_bin_path.replace(
|
||||||
"firmware.bin", "firmware-factory.bin"
|
"firmware.bin", "firmware-factory.bin"
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user