Skip to content

Commit

Permalink
Merge branch 'main' into feature/run-e2e-in-cd-pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
brunns committed Jun 4, 2024
2 parents 4f819b4 + 7a87d25 commit 5df61a9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions django_app/redbox_app/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
env = environ.Env()

SECRET_KEY = env.str("DJANGO_SECRET_KEY")
ENVIRONMENT = Environment[env.str("ENVIRONMENT")]
ENVIRONMENT = Environment[env.str("ENVIRONMENT").upper()]
WEBSOCKET_SCHEME = "ws" if ENVIRONMENT.is_local() else "wss"

# SECURITY WARNING: don't run with debug turned on in production!
Expand Down Expand Up @@ -142,7 +142,6 @@
LOGIN_REDIRECT_URL = "homepage"
LOGIN_URL = "sign-in"


# CSP settings https://content-security-policy.com/
# https://django-csp.readthedocs.io/
CSP_DEFAULT_SRC = (
Expand Down

0 comments on commit 5df61a9

Please sign in to comment.