diff --git a/main.py b/main.py index 0b6919c..b80ae98 100644 --- a/main.py +++ b/main.py @@ -68,9 +68,9 @@ def save_qr_code(url): # Set up the server with the AuthHandler and the defined port with socketserver.TCPServer(("", args.port), AuthHandler) as httpd: - print(f"Serving the directory '{args.directory}' at http://localhost:{args.port}") print("qrcode.png is saved in the current directory.") ip_address = get_current_ip_address() - print(f"http://{args.username}:{args.password}@{ip_address}:{args.port}/") + print(f"http://{args.username}:{args.password}@{ip_address}:{args.port}/ < the page") + print(f"http://{args.username}:{args.password}@{ip_address}:{args.port}/qrcode.png < qrcode") save_qr_code(f"http://{args.username}:{args.password}@{ip_address}:{args.port}/") httpd.serve_forever() \ No newline at end of file