Skip to content

Commit

Permalink
CSRF_TRUSTED_ORIGINS added
Browse files Browse the repository at this point in the history
  • Loading branch information
Steve Kueng committed Oct 5, 2023
1 parent 1e32c61 commit e9ae72a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/munkiwebadmin/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,8 @@
}
}

CSRF_TRUSTED_ORIGINS = ALLOWED_HOSTS

# needed by django-wsgiserver when using staticserve=collectstatic
STATIC_ROOT = os.path.join(BASE_DIR, 'staticfiles')
# Additional locations of static files
Expand Down

0 comments on commit e9ae72a

Please sign in to comment.