mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-10-26 19:01:39 -04:00
Fixing API index page for Sanic.
This commit is contained in:
parent
bab7082634
commit
8ddc4d5a7c
1 changed files with 2 additions and 2 deletions
|
|
@ -109,8 +109,8 @@ index_html = '''
|
|||
'''
|
||||
|
||||
|
||||
@api_app.get('/')
|
||||
def index(_):
|
||||
@api_bp.get('/')
|
||||
async def index(_):
|
||||
return response.html(index_html)
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue