mirror of
https://github.com/lemeow125/DRF_Template.git
synced 2025-09-18 05:29:37 +08:00
Add in CSRF config
This commit is contained in:
parent
08807eb9b8
commit
5d285553dc
1 changed files with 1 additions and 0 deletions
|
@ -32,6 +32,7 @@ SECRET_KEY = config.SECRET_KEY
|
|||
DEBUG = config.DEBUG
|
||||
|
||||
CORS_ALLOWED_ORIGINS = config.CORS_ORIGINS
|
||||
CSRF_TRUSTED_ORIGINS = config.CORS_ORIGINS
|
||||
ALLOWED_HOSTS = config.ALLOWED_HOSTS
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue