From 9270d9dd02195c463986b629af579e798b83e067 Mon Sep 17 00:00:00 2001 From: nexy7574 Date: Wed, 10 Jan 2024 09:51:27 +0000 Subject: [PATCH] Turn off lifespan(?) --- src/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.py b/src/main.py index 902fd0f..b7c8abf 100644 --- a/src/main.py +++ b/src/main.py @@ -53,7 +53,7 @@ class Client(commands.Bot): host=CONFIG["server"].get("host", "0.0.0.0"), port=CONFIG["server"].get("port", 8080), loop="asyncio", - lifespan="on", + lifespan="off", server_header=False ) server = uvicorn.Server(config=config)