Skip to content

Commit

Permalink
fix: bug
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelfromyeg committed Dec 30, 2023
1 parent 83953b4 commit 3fc2551
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bereal/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -260,4 +260,4 @@ def scheduled_task():

logger.info("Starting BeReal server on %s:%d...", host, port)

app.run(host=host, port=port, debug=FLASK_ENV == "development")
app.run(host=host, port=port, debug=(os.getenv("FLASK_ENV") or "production") == "development")

0 comments on commit 3fc2551

Please sign in to comment.