mirror of
https://github.com/esphome/esphome.git
synced 2024-11-26 00:48:19 +01:00
Merge pull request from GHSA-9p43-hj5j-96h5
This commit is contained in:
parent
01fc0578bd
commit
b3ff23ec76
1 changed files with 1 additions and 0 deletions
|
@ -820,6 +820,7 @@ class EditRequestHandler(BaseHandler):
|
|||
None, self._read_file, filename, configuration
|
||||
)
|
||||
if content is not None:
|
||||
self.set_header("Content-Type", "application/yaml")
|
||||
self.write(content)
|
||||
|
||||
def _read_file(self, filename: str, configuration: str) -> bytes | None:
|
||||
|
|
Loading…
Reference in a new issue