Skip to content

Commit

Permalink
Update DEBUG and SECRET_KEY env vars
Browse files Browse the repository at this point in the history
  • Loading branch information
mebdivio committed Jun 20, 2024
1 parent 817ecea commit e9a8afa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions backend/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@


# SECURITY WARNING: keep the secret key used in production secret!
SECRET_KEY = 'changeme'
SECRET_KEY = os.environ.get('SECRET_KEY', 'changeme')

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

ALLOWED_HOSTS = ["*"]
CSRF_TRUSTED_ORIGINS=["https://*.aldryn.io"]
Expand Down

0 comments on commit e9a8afa

Please sign in to comment.