From e6cd2d7e86baaec62603272df39d32997f0be4b9 Mon Sep 17 00:00:00 2001 From: Tom Christie Date: Wed, 5 Sep 2018 11:44:54 +0100 Subject: [PATCH] Tweak example: access logs on, port 8000 --- README.md | 2 +- docs/index.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index d479c3b2..904bee92 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/docs/index.md b/docs/index.md index 84eb5301..433e73f7 100644 --- a/docs/index.md +++ b/docs/index.md @@ -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