mirror of
https://github.com/junkfix/config-editor.git
synced 2026-02-22 18:26:40 +01:00
Add filetype jinja in backend
This commit is contained in:
parent
0baa420eba
commit
132107ba77
|
|
@ -29,7 +29,7 @@ async def async_setup(hass, config):
|
|||
async def websocket_create(hass, connection, msg):
|
||||
action = msg["action"]
|
||||
ext = msg["ext"]
|
||||
if ext not in ["yaml","py","json","conf","js","txt","log","css","all"]:
|
||||
if ext not in ["yaml","py","json","conf","js","txt","log","css","jinja","all"]:
|
||||
ext = "yaml"
|
||||
|
||||
def extok(e):
|
||||
|
|
|
|||
Loading…
Reference in a new issue