From 60e810450d9873ccfbf8fc1de034366f20da4ddd Mon Sep 17 00:00:00 2001 From: Qiao Wang Date: Sat, 9 Dec 2023 12:43:10 +0800 Subject: [PATCH] Fix --- app/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/main.py b/app/main.py index 0e37fb4..366a851 100644 --- a/app/main.py +++ b/app/main.py @@ -235,4 +235,4 @@ async def on_prepare(request, response): if __name__ == '__main__': logging.basicConfig(level=logging.DEBUG) log.info(f"Listening on {config.HOST}:{config.PORT}") - web.run_app(app, host=config.HOST, port=8081, reuse_port=False) + web.run_app(app, host=config.HOST, port=int(config.PORT), reuse_port=True)