Fix security issue: disable Flask debug mode

Co-authored-by: Kenearos <86194771+Kenearos@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot] 2025-11-17 20:16:58 +00:00
parent be9ed433b6
commit a6abfce322

3
app.py
View file

@ -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)