Fixing API index page for Sanic.

This commit is contained in:
Roland 2023-06-09 16:09:56 -06:00
parent bab7082634
commit 8ddc4d5a7c
No known key found for this signature in database
GPG key ID: 9D6DBD3ACF11AB93

View file

@ -109,8 +109,8 @@ index_html = '''
'''
@api_app.get('/')
def index(_):
@api_bp.get('/')
async def index(_):
return response.html(index_html)