From e20d3a5043d26f2c441a270cb4013580b8716243 Mon Sep 17 00:00:00 2001 From: Saifeddine ALOUI Date: Sun, 25 Jun 2023 21:10:42 +0200 Subject: [PATCH] security problem --- app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.py b/app.py index 98a1b633..4686b4c4 100644 --- a/app.py +++ b/app.py @@ -1397,7 +1397,7 @@ if __name__ == "__main__": url = f'http://{config["host"]}:{config["port"]}' - if config["host"]=="0.0.0.0": + if config["host"]=="localhost": print(f'Please open your browser and go to http://localhost:{config["port"]} to view the ui') ASCIIColors.success(f'This server is visible from a remote PC. use this address http://{get_ip_address()}:{config["port"]}') else: