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

* Fix 404 for Hass.io panel using frontend dev

* Hound
This commit is contained in:
c727 2018-01-29 23:18:33 +01:00 committed by Fabian Affolter
parent 8b9dc71cde
commit 105522f03f

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),