From cb407a7fcb0d70a7f62dbb49ddbed56bf2aafc5e Mon Sep 17 00:00:00 2001 From: Moksej Date: Sat, 15 Jan 2022 00:33:13 +0100 Subject: [PATCH] make sure it starts itself next time --- bot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot.py b/bot.py index 608706a..de6f37b 100644 --- a/bot.py +++ b/bot.py @@ -56,7 +56,7 @@ async def start_websocket(): username, password, realm, port = config.WEBSOCKET async with websockets.serve( bot.handle_websocket, - "localhost", + "127.0.0.1", port, create_protocol=websockets.basic_auth_protocol_factory( realm=realm, credentials=(username, password)