mirror of
https://github.com/Dispatcharr/Dispatcharr.git
synced 2026-01-23 02:35:14 +00:00
fixing csrf origins
This commit is contained in:
parent
79377c0d7f
commit
23788ffcbe
1 changed files with 4 additions and 1 deletions
|
|
@ -140,7 +140,10 @@ SERVER_IP = "127.0.0.1"
|
|||
|
||||
CORS_ALLOW_ALL_ORIGINS = True
|
||||
CORS_ALLOW_CREDENTIALS = True
|
||||
CSRF_TRUSTED_ORIGINS = ['*']
|
||||
CSRF_TRUSTED_ORIGINS = [
|
||||
'http://*',
|
||||
'https://*'
|
||||
]
|
||||
APPEND_SLASH = True
|
||||
|
||||
REST_FRAMEWORK = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue