From de4237ae9a0224429b6ed465f93a0755f57c3cb2 Mon Sep 17 00:00:00 2001 From: PWZER Date: Wed, 23 Aug 2023 16:59:34 +0800 Subject: [PATCH] v23.08.23 --- examples/sanic_test.py | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/sanic_test.py b/examples/sanic_test.py index 8dbad59..fdcdf3d 100644 --- a/examples/sanic_test.py +++ b/examples/sanic_test.py @@ -18,4 +18,4 @@ async def index_handler(request): from swagger_ui import api_doc api_doc(app, config_path=config_path) - app.run(host='0.0.0.0', port=8989) + app.run(host='0.0.0.0', port=8989, single_process=True) diff --git a/setup.py b/setup.py index 59d327b..b8da017 100644 --- a/setup.py +++ b/setup.py @@ -10,7 +10,7 @@ setup( name='swagger-ui-py', - version='22.07.13', + version='23.08.23', description=( 'Swagger UI for Python web framework, ' 'such as Tornado, Flask, Quart, Sanic and Falcon.'