Skip to content

Commit

Permalink
Use TLS for auth redirect in prod. (#105)
Browse files Browse the repository at this point in the history
  • Loading branch information
anybodys authored Jul 7, 2024
1 parent 28e913e commit 3e79e21
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions api/app/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -190,3 +190,6 @@

SOCIALACCOUNT_ONLY = True
ACCOUNT_EMAIL_VERIFICATION = 'none'

if IS_PROD:
ACCOUNT_DEFAULT_HTTP_PROTOCOL = 'https'
2 changes: 1 addition & 1 deletion infra/app/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ variable "app_versions" {
type = map(string)
default = {
client : "0.3.0",
api : "0.2.0",
api : "0.2.1",
}

}
Expand Down

0 comments on commit 3e79e21

Please sign in to comment.