Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix code scanning alert - Flask app is run in debug mode #1741

Closed
1 task
seokho-son opened this issue Aug 17, 2024 · 2 comments · Fixed by #1750
Closed
1 task

Fix code scanning alert - Flask app is run in debug mode #1741

seokho-son opened this issue Aug 17, 2024 · 2 comments · Fixed by #1750

Comments

@seokho-son
Copy link
Member

Tracking issue for:

@yunkon-kim may I change it?

-app.run(host="0.0.0.0", port=5000, debug=True)
+app.run(host="0.0.0.0", port=5000, debug=False)
@yunkon-kim
Copy link
Member

@seokho-son Yes, you could change it to debug=False or read it from the env.

@seokho-son
Copy link
Member Author

Let's simply set debug=False :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants