From 0be0ab7d277731bc09b88ebee2a598bed04f466c Mon Sep 17 00:00:00 2001 From: Sam Mirazi Date: Sat, 31 May 2025 20:58:15 -0700 Subject: [PATCH] starting phase 4 - --- app_flask/flask_application.py | 12 ++++++------ ...t_flask_route.cpython-312-pytest-8.3.5.pyc | Bin 4556 -> 4556 bytes 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/app_flask/flask_application.py b/app_flask/flask_application.py index ca23d35..5df2db9 100644 --- a/app_flask/flask_application.py +++ b/app_flask/flask_application.py @@ -11,11 +11,11 @@ def home(): return Response(html, mimetype="text/html") if __name__ == "__main__": - host = "127.0.0.1" - port = 3000 - url = f"http://{host}:{port}/" + # host = "127.0.0.1" # Not strictly needed for app.run with 0.0.0.0 + # port = 3000 # Port is defined in app.run + # url = f"http://{host}:{port}/" # Not needed as webbrowser call is removed - # Open the URL in a new browser tab - webbrowser.open_new_tab(url) + # Open the URL in a new browser tab # THIS LINE WILL BE REMOVED + # webbrowser.open_new_tab(url) # REMOVED - app.run(host="0.0.0.0", port=3000) \ No newline at end of file + app.run(host="0.0.0.0", port=3000) # Port 3000 \ No newline at end of file diff --git a/tests/__pycache__/test_flask_route.cpython-312-pytest-8.3.5.pyc b/tests/__pycache__/test_flask_route.cpython-312-pytest-8.3.5.pyc index 25cc9664466b4d68d8f47d78e8bd164467b7b4ee..01df2d8f6357bf2d2b7d4b2087e8777c359de92c 100644 GIT binary patch delta 19 ZcmX@3d`6k;G%qg~0}yb|*~oQB5CArX1q%QG delta 19 ZcmX@3d`6k;G%qg~0}!m6y^-sXAOJdE1+M@A -- 2.25.1