edit trusted origin

This commit is contained in:
Sayyid Hamid Mahdavi 2026-04-22 14:12:47 +03:30
parent fac2f3e483
commit d5acae765c

View file

@ -224,7 +224,9 @@ SPECTACULAR_SETTINGS = {
AUTH_USER_MODEL = 'users.User'
CORS_ORIGIN_ALLOW_ALL = 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 = {
'Strftime': {