Skip to content

Commit

Permalink
set default protocol
Browse files Browse the repository at this point in the history
  • Loading branch information
calellowitz committed Oct 5, 2023
1 parent 42fa2e5 commit a4a39a3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions config/settings/production.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,3 +131,5 @@
]
# Your stuff...
# ------------------------------------------------------------------------------

DEFAULT_HTTP_PROTOCOL = "https"
2 changes: 2 additions & 0 deletions config/settings/staging.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,3 +110,5 @@
# CommCareConnect
# ------------------------------------------------------------------------------
CSRF_TRUSTED_ORIGINS = ["https://*.127.0.0.1"] + env.list("CSRF_TRUSTED_ORIGINS", default=[])

DEFAULT_HTTP_PROTOCOL = "https"

0 comments on commit a4a39a3

Please sign in to comment.