mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-07-19 15:16:33 +00:00
Revert API change
This commit is contained in:
parent
ad1a8557b8
commit
ba3760e770
@ -99,10 +99,10 @@ class RestAPI(object):
|
||||
|
||||
def register_panel(self):
|
||||
"""Register panel for homeassistant."""
|
||||
panel = Path(__file__).parents[1].joinpath('panel/hassio-main.html')
|
||||
panel_dir = Path(__file__).parents[1].joinpath('panel')
|
||||
|
||||
self.webapp.router.register_resource(
|
||||
web.StaticResource('/panel', str(panel)))
|
||||
web.StaticResource('/panel', str(panel_dir)))
|
||||
|
||||
async def start(self):
|
||||
"""Run rest api webserver."""
|
||||
|
Loading…
x
Reference in New Issue
Block a user