Skip to content

Commit

Permalink
Fix debug config
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexis committed Dec 6, 2023
1 parent 4800d53 commit 6d30366
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions csskp/config_dev.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@

HASH_KEY = b"KnX5YN3hvP54jOIMkacWdqxFX1RKk8cjqVZjGJbAscM="

DEBUG = os.getenv("DEBUG").split(",") \
if os.getenv("ALLOWED_HOSTS") is not None \
DEBUG = os.getenv("DEBUG") == "True" \
if os.getenv("DEBUG") is not None \
else True

DATABASES = {
Expand Down

0 comments on commit 6d30366

Please sign in to comment.