Skip to content

Commit

Permalink
fixed SECURE_HSTS_SECONDS value for prodaction
Browse files Browse the repository at this point in the history
  • Loading branch information
YuriyCherniy committed Jul 23, 2022
1 parent 444dbd5 commit 931bbfa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lazy_url/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@

# Security setting for production.
if not DEBUG:
SECURE_HSTS_SECONDS = 3600
SECURE_HSTS_SECONDS = 31536000
SESSION_COOKIE_SECURE = True
CSRF_COOKIE_SECURE = True
SECURE_HSTS_INCLUDE_SUBDOMAINS = True
Expand Down

0 comments on commit 931bbfa

Please sign in to comment.