Skip to content

Commit

Permalink
update env variables (#2)
Browse files Browse the repository at this point in the history
* add allowed hosts

* update env
  • Loading branch information
de-yi authored Jan 1, 2025
1 parent e30b1ad commit 073d6f8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions wemade_2024_server/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@
# See https://docs.djangoproject.com/en/4.2/howto/deployment/checklist/

# SECURITY WARNING: keep the secret key used in production secret!
SECRET_KEY = "django-insecure-!6v%q59-l*6j2ppf9cnl608m#4$$9)c@i(yk%2v1*tg4wy=ek^"
SECRET_KEY = os.environ.get("SECRET_KEY")

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

ALLOWED_HOSTS = [
'wemade-2024-server-h0csbcbdesdbe0ep.eastasia-01.azurewebsites.net',
Expand Down

0 comments on commit 073d6f8

Please sign in to comment.