diff --git a/wrolpi/root_api.py b/wrolpi/root_api.py index c4497520..aa7b2857 100644 --- a/wrolpi/root_api.py +++ b/wrolpi/root_api.py @@ -109,8 +109,8 @@ index_html = ''' ''' -@api_app.get('/') -def index(_): +@api_bp.get('/') +async def index(_): return response.html(index_html)