mirror of
https://github.com/home-assistant/core.git
synced 2025-07-17 10:17:09 +00:00
Serve latest extra_html in dev mode (#10863)
This commit is contained in:
parent
c2525782aa
commit
8afeef2f36
@ -476,7 +476,8 @@ class IndexView(HomeAssistantView):
|
|||||||
def get(self, request, extra=None):
|
def get(self, request, extra=None):
|
||||||
"""Serve the index view."""
|
"""Serve the index view."""
|
||||||
hass = request.app['hass']
|
hass = request.app['hass']
|
||||||
latest = _is_latest(self.js_option, request)
|
latest = self.repo_path is not None or \
|
||||||
|
_is_latest(self.js_option, request)
|
||||||
|
|
||||||
if request.path == '/':
|
if request.path == '/':
|
||||||
panel = 'states'
|
panel = 'states'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user