From 12d7e0c30c57614ded6f1649af49243b90df37e0 Mon Sep 17 00:00:00 2001 From: Stef Date: Tue, 1 Jul 2025 12:11:02 +0200 Subject: [PATCH] Enable HTTPS and external access in Flask app Updated app.run to bind to 0.0.0.0 for external access and enabled HTTPS using cert.pem and key.pem SSL context. --- app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.py b/app.py index 397522f..e19823f 100644 --- a/app.py +++ b/app.py @@ -81,4 +81,4 @@ def scan(): # Run if __name__ == "__main__": - app.run(debug=True) + app.run(host="0.0.0.0", debug=True, ssl_context=("cert.pem", "key.pem"))