Skip to content

Commit

Permalink
Fix debug mode
Browse files Browse the repository at this point in the history
  • Loading branch information
DeD1rk committed May 14, 2024
1 parent 6ded775 commit 13858a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/server/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
)

# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = bool(os.environ.get("DEBUG", "1"))
DEBUG = os.environ.get("DEBUG", "1") == "1"

CSRF_COOKIE_SECURE = True
SESSION_COOKIE_SECURE = True
Expand Down

0 comments on commit 13858a1

Please sign in to comment.