Skip to content

Commit

Permalink
server: disable sanic MOTD
Browse files Browse the repository at this point in the history
  • Loading branch information
cosven committed Jan 7, 2025
1 parent 5cf00cc commit 0181381
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 0181381

Please sign in to comment.