Skip to content

Commit

Permalink
Improperly DEBUG fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
matiasvallejosdev committed Jan 30, 2024
1 parent 853b0a6 commit 3e0cce3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/todo_project/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
SECRET_KEY = os.environ.get("DJ_SECRET_KEY")

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

ALLOWED_HOSTS = ["*", "localhost", "127.0.0.1", ".vercel.app"]

Expand Down

0 comments on commit 3e0cce3

Please sign in to comment.