Turn off lifespan(?)

This commit is contained in:
Nexus 2024-01-10 09:51:27 +00:00
parent a8803de570
commit 9270d9dd02

View file

@ -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)