Skip to content

Commit

Permalink
add CSRF settings
Browse files Browse the repository at this point in the history
  • Loading branch information
karmaking committed Jan 10, 2025
1 parent 3be85ca commit 83fca90
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/local_settings_container.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
CALLBACK_BASE_URL = os.getenv('CALLBACK_BASE_URL')
if os.getenv('ALLOWED_HOSTS'):
ALLOWED_HOSTS = os.getenv('ALLOWED_HOSTS').split(',')
if os.getenv('CSRF_TRUSTED_ORIGINS'):
CSRF_TRUSTED_ORIGINS = os.getenv('CSRF_TRUSTED_ORIGINS').split(',')
BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
DATABASES = {
'default': {
Expand Down

0 comments on commit 83fca90

Please sign in to comment.