Tweak example: access logs on, port 8000

This commit is contained in:
Tom Christie 2018-09-05 11:44:54 +01:00
parent 78d1829758
commit e6cd2d7e86
2 changed files with 2 additions and 2 deletions

View File

@ -57,7 +57,7 @@ def homepage(request):
return JSONResponse({'hello': 'world'})
if __name__ == '__main__':
uvicorn.run(app, host='0.0.0.0', port=8001, access_log=False)
uvicorn.run(app, host='0.0.0.0', port=8000)
```
## Dependencies

View File

@ -56,7 +56,7 @@ def homepage(request):
return JSONResponse({'hello': 'world'})
if __name__ == '__main__':
uvicorn.run(app, host='0.0.0.0', port=8001, access_log=False)
uvicorn.run(app, host='0.0.0.0', port=8000)
```
## Dependencies