From f7d210c69da42702c75250c87ebce2bae612495a Mon Sep 17 00:00:00 2001 From: Shaowen Yin Date: Thu, 9 Jan 2025 20:32:53 +0800 Subject: [PATCH] server: disable sanic MOTD (#895) --- 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()