🚨(backend) fix linting issue

Fix linting issue in the backend codebase.
This commit is contained in:
Anthony LC
2024-04-12 14:27:50 +02:00
committed by Anthony LC
parent 5587cf69dd
commit 0024cc5814
4 changed files with 4 additions and 6 deletions

View File

@@ -500,7 +500,7 @@ class Production(Base):
#
# 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')
SECURE_PROXY_SSL_HEADER = ("HTTP_X_FORWARDED_PROTO", "https")
# Modern browsers require to have the `secure` attribute on cookies with `Samesite=none`
CSRF_COOKIE_SECURE = True