Skip to content

Commit

Permalink
set default aldryn.io to CSRF trusted hosts
Browse files Browse the repository at this point in the history
  • Loading branch information
Muhammad Atif committed Feb 21, 2024
1 parent f5b4166 commit 105200c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
DEBUG = os.getenv('DEBUG', default=False)
SECRET_KEY = os.getenv('SECRET_KEY')
ALLOWED_HOSTS = os.getenv('ALLOWED_HOSTS', default='*').split(',')
CSRF_TRUSTED_ORIGINS = os.getenv('CSRF_TRUSTED_ORIGINS', default='*').split(',')
CSRF_TRUSTED_ORIGINS = os.getenv('CSRF_TRUSTED_ORIGINS', default='https://*.aldryn.io').split(',')


# Application definition
Expand Down

0 comments on commit 105200c

Please sign in to comment.