From 36880c988f065394577119eaa2fb8c1b5faa6f07 Mon Sep 17 00:00:00 2001 From: Keno Chou <75463608+KenoChou@users.noreply.github.com> Date: Sun, 20 Oct 2024 23:04:43 +0800 Subject: [PATCH] Update main.py --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index c2321086..e264375c 100644 --- a/main.py +++ b/main.py @@ -250,7 +250,7 @@ if __name__ == "__main__": def startup_server(scheme, address, port): import webbrowser if os.name == 'nt' and address == '0.0.0.0': - address = '127.0.0.1' + log.info(address) if ':' in address: address = "[{}]".format(address) webbrowser.open(f"{scheme}://{address}:{port}")