Fix invite text and add accounting context to translation messages #53
Loading…
Reference in a new issue
No description provided.
Delete branch "benjaoming/membersystem:invite-fixes"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Self-certified by local tests ✅
@ -57,3 +57,3 @@
c["domain"] = site.domain
c["site_name"] = site.name
c["protocol"] = "http" if self.request and not self.request.is_secure() else "https"
c["protocol"] = "https" # if self.request and not self.request.is_secure() else "https"
I think with our current nginx proxy setup we can check first for
X-Forwarded-Proto
header and otherwise do that. It may be brittle to check that header...You're right, it turns out the correct method is to define HOW the fact of https presence should be detected:
https://docs.djangoproject.com/en/5.0/ref/settings/#secure-proxy-ssl-header
Ah awesome! Well spotted