This commit is contained in:
Pascal Vizeli 2017-05-20 00:19:48 +02:00 committed by GitHub
parent a492bccc03
commit 9984a638ba

View File

@ -100,7 +100,7 @@ class RestAPI(object):
def register_panel(self):
"""Register panel for homeassistant."""
panel = Path(__file__).parents[1].joinpath('panel/hassio-main.html')
def get_panel(request):
"""Return file response with panel."""
return web.FileResponse(panel)