Skip to content

Commit

Permalink
server: disable sanic MOTD (#895)
Browse files Browse the repository at this point in the history
  • Loading branch information
cosven authored Jan 9, 2025
1 parent 9a917b6 commit f7d210c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions feeluown/webserver/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()

0 comments on commit f7d210c

Please sign in to comment.