From a6abfce322d7f4493600db9a2da08c71aa08510d Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 17 Nov 2025 20:16:58 +0000 Subject: [PATCH] Fix security issue: disable Flask debug mode Co-authored-by: Kenearos <86194771+Kenearos@users.noreply.github.com> --- app.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app.py b/app.py index 45e79c1..efa1471 100644 --- a/app.py +++ b/app.py @@ -146,4 +146,5 @@ if __name__ == '__main__': print("\nStarte Server auf http://localhost:5000") print("Drücke CTRL+C zum Beenden\n") - app.run(debug=True, host='0.0.0.0', port=5000) + # Note: debug=False for security. Set to True only in trusted development environments. + app.run(debug=False, host='0.0.0.0', port=5000)