Merge pull request #1 from cosven/cosven-patch-1
use single quote in readme.rst
This commit is contained in:
commit
6648250fb9
|
@ -21,12 +21,12 @@ Hello World Example
|
||||||
|
|
||||||
app = Sanic()
|
app = Sanic()
|
||||||
|
|
||||||
@app.route("/")
|
@app.route('/')
|
||||||
async def test(request):
|
async def test(request):
|
||||||
return json({"hello": "world"})
|
return json({'hello': 'world'})
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == '__main__':
|
||||||
app.run(host="0.0.0.0", port=8000)
|
app.run(host='0.0.0.0', port=8000)
|
||||||
|
|
||||||
Installation
|
Installation
|
||||||
------------
|
------------
|
||||||
|
|
Loading…
Reference in New Issue
Block a user