Skip to content

Commit

Permalink
Updated
Browse files Browse the repository at this point in the history
  • Loading branch information
vinayjain18 committed Jul 30, 2024
1 parent ca1e440 commit c489156
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions fluence/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
DEBUG = False

ALLOWED_HOSTS = ['https://fluence.azurewebsites.net', 'localhost', '*']
CSRF_TRUSTED_ORIGINS = ['https://fluence.azurewebsites.net']

# Application definition

Expand Down Expand Up @@ -69,6 +70,8 @@

CSRF_COOKIE_SECURE = True
SESSION_COOKIE_SECURE = True
CSRF_COOKIE_SAMESITE = 'Strict'
SESSION_COOKIE_SAMESITE = 'Strict'

SECURE_HSTS_SECONDS = 31536000 # 1 year
SECURE_HSTS_INCLUDE_SUBDOMAINS = True
Expand Down

0 comments on commit c489156

Please sign in to comment.