From 0181381297773054f551c6aad0be7ada53a34f1c Mon Sep 17 00:00:00 2001 From: cosven Date: Wed, 8 Jan 2025 02:23:39 +0800 Subject: [PATCH] server: disable sanic MOTD --- feeluown/webserver/server.py | 1 + 1 file changed, 1 insertion(+) diff --git a/feeluown/webserver/server.py b/feeluown/webserver/server.py index a2756cddb8..2d7276a2ba 100644 --- a/feeluown/webserver/server.py +++ b/feeluown/webserver/server.py @@ -87,6 +87,7 @@ def write_topic_msg(self, topic, msg): async def run_web_server(host, port): initialize() + sanic_app.config.MOTD = False server = await sanic_app.create_server(host, port, return_asyncio_server=True) await server.startup() await server.serve_forever()