starting phase 4 -
authorSam Mirazi <sasan345@gmail.com>
Sun, 1 Jun 2025 03:58:15 +0000 (20:58 -0700)
committerSam Mirazi <sasan345@gmail.com>
Sun, 1 Jun 2025 03:58:15 +0000 (20:58 -0700)
app_flask/flask_application.py
tests/__pycache__/test_flask_route.cpython-312-pytest-8.3.5.pyc

index ca23d351b2c2832a07c53a2b4e05a85cce1be0d8..5df2db9741000e1e748a2411d784c2a156f90e94 100644 (file)
@@ -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
index 25cc9664466b4d68d8f47d78e8bd164467b7b4ee..01df2d8f6357bf2d2b7d4b2087e8777c359de92c 100644 (file)
Binary files a/tests/__pycache__/test_flask_route.cpython-312-pytest-8.3.5.pyc and b/tests/__pycache__/test_flask_route.cpython-312-pytest-8.3.5.pyc differ