Skip to content

Fix: Disable Flask debug mode in production#121

Open
5hivam123 wants to merge 1 commit into
AditixAnand:mainfrom
5hivam123:fix/flask-debug-mode
Open

Fix: Disable Flask debug mode in production#121
5hivam123 wants to merge 1 commit into
AditixAnand:mainfrom
5hivam123:fix/flask-debug-mode

Conversation

@5hivam123
Copy link
Copy Markdown

Fixes #115

Changes Made

  • Replaced debug=True with environment variable
  • Debug mode is now OFF by default in production
  • Developers can enable it locally by setting FLASK_DEBUG=true

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 this pull request may close these issues.

Flask debug mode on

1 participant