Add name to Sanic instance in Hello World Example (#2058)
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user