Skip to content

Commit 802acc7

Browse files
committed
💚(settings) lint
1 parent b8c4532 commit 802acc7

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

‎src/backend/messages/settings.py‎

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -983,7 +983,12 @@ class Production(Base):
983983
SECURE_HSTS_PRELOAD = True
984984
SECURE_HSTS_INCLUDE_SUBDOMAINS = True
985985
SECURE_SSL_REDIRECT = True
986-
SECURE_REDIRECT_EXEMPT = ["^__lbheartbeat__", "^__heartbeat__", "^api/v1\\.0/mta/", "^api/v1\\.0/inbound/mta/"]
986+
SECURE_REDIRECT_EXEMPT = [
987+
"^__lbheartbeat__",
988+
"^__heartbeat__",
989+
"^api/v1\\.0/mta/",
990+
"^api/v1\\.0/inbound/mta/",
991+
]
987992

988993
# Modern browsers require to have the `secure` attribute on cookies with `Samesite=none`
989994
CSRF_COOKIE_SECURE = True

0 commit comments

Comments
 (0)