Frontend now build on top of home-assistant-js
This commit is contained in:
1 parent
fbae2ef725
commit
115be859b6
36 files changed
+467
-829
No files matched your search
@@ -58,7 +58,7 @@ def _handle_get_root(handler, path_match, data):
|
||||
handler.end_headers()
|
||||
|
||||
if handler.server.development:
|
||||
app_url = "polymer/splash-login.html"
|
||||
app_url = "polymer/home-assistant.html"
|
||||
else:
|
||||
app_url = "frontend-{}.html".format(version.VERSION)
|
||||
|
||||
@@ -83,7 +83,7 @@ def _handle_get_root(handler, path_match, data):
|
||||
"<script"
|
||||
" src='/static/webcomponents.min.js'></script>"
|
||||
"<link rel='import' href='/static/{}' />"
|
||||
"<splash-login auth='{}'></splash-login>"
|
||||
"<home-assistant auth='{}'></home-assistant>"
|
||||
"</body></html>").format(app_url, auth))
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user