Add name to Sanic instance in Hello World Example (#2058)
This commit is contained in:
parent
b1a57a8b62
commit
1165663ec1
|
@ -118,7 +118,7 @@ Hello World Example
|
|||
from sanic import Sanic
|
||||
from sanic.response import json
|
||||
|
||||
app = Sanic()
|
||||
app = Sanic("My Hello, world app")
|
||||
|
||||
@app.route('/')
|
||||
async def test(request):
|
||||
|
|
Loading…
Reference in New Issue
Block a user