Fix 404 for Hass.io panel using frontend dev (#12039)

* Fix 404 for Hass.io panel using frontend dev

* Hound
pull/12042/head
c727 2018-01-29 23:18:33 +01:00 committed by Fabian Affolter
parent 8b9dc71cde
commit 105522f03f
1 changed files with 2 additions and 1 deletions

View File

@ -300,7 +300,8 @@ def async_setup(hass, config):
if is_dev:
for subpath in ["src", "build-translations", "build-temp", "build",
"hass_frontend", "bower_components", "panels"]:
"hass_frontend", "bower_components", "panels",
"hassio"]:
hass.http.register_static_path(
"/home-assistant-polymer/{}".format(subpath),
os.path.join(repo_path, subpath),