mirror of
https://github.com/esphome/esphome.git
synced 2024-12-22 13:34:54 +01:00
Merge pull request from GHSA-9p43-hj5j-96h5
This commit is contained in:
parent
63cce916e2
commit
37d2b3c797
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