Use new build path for dev translations (#10937)

This commit is contained in:
Adam Mills 2017-12-05 09:13:09 -05:00 committed by GitHub
parent 69d5738e47
commit 3af527b1b5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -303,7 +303,7 @@ def async_setup(hass, config):
"/home-assistant-polymer", repo_path, False)
hass.http.register_static_path(
"/static/translations",
os.path.join(repo_path, "build-translations"), False)
os.path.join(repo_path, "build-translations/output"), False)
sw_path_es5 = os.path.join(repo_path, "build-es5/service_worker.js")
sw_path_latest = os.path.join(repo_path, "build/service_worker.js")
static_path = os.path.join(repo_path, 'hass_frontend')