edit trusted origin
This commit is contained in:
parent
fac2f3e483
commit
d5acae765c
1 changed files with 3 additions and 1 deletions
|
|
@ -224,7 +224,9 @@ SPECTACULAR_SETTINGS = {
|
||||||
AUTH_USER_MODEL = 'users.User'
|
AUTH_USER_MODEL = 'users.User'
|
||||||
CORS_ORIGIN_ALLOW_ALL = True
|
CORS_ORIGIN_ALLOW_ALL = True
|
||||||
CORS_ALLOW_ALL_ORIGINS = True
|
CORS_ALLOW_ALL_ORIGINS = True
|
||||||
CSRF_TRUSTED_ORIGINS = ['http://*', 'https://*', 'http://*.gooyal.com', 'https://*.gooyal.com']
|
CSRF_TRUSTED_ORIGINS = ['http://*', 'https://*',
|
||||||
|
'http://*.gooyal.com', 'https://*.gooyal.com',
|
||||||
|
'http://*.gooyal.ir', 'https://*.gooyal.ir']
|
||||||
|
|
||||||
JALALI_DATE_DEFAULTS = {
|
JALALI_DATE_DEFAULTS = {
|
||||||
'Strftime': {
|
'Strftime': {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue