Skip to content

Commit

Permalink
🎨(backend) remove duplicated line of configuration
Browse files Browse the repository at this point in the history
Uncommenting the line left the original commented line in place,
which was misleading because the comment indicated to comment
the next line, which was already commented.

Fixed!
  • Loading branch information
lebaudantoine committed Jul 3, 2024
1 parent 1371e8a commit 9bcadef
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/backend/meet/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -536,7 +536,6 @@ class Production(Base):
# - Your proxy sets the X-Forwarded-Proto header and sends it to Django
#
# In other cases, you should comment the following line to avoid security issues.
# SECURE_PROXY_SSL_HEADER = ("HTTP_X_FORWARDED_PROTO", "https")
SECURE_PROXY_SSL_HEADER = ("HTTP_X_FORWARDED_PROTO", "https")

# Modern browsers require to have the `secure` attribute on cookies with `Samesite=none`
Expand Down

0 comments on commit 9bcadef

Please sign in to comment.