Add name to Sanic instance in Hello World Example (#2058)

This commit is contained in:
Andrea Stagi 2021-03-12 14:23:13 +01:00 committed by GitHub
parent b1a57a8b62
commit 1165663ec1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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):