CSRF_TRUSTED_ORIGINS

This commit is contained in:
mahdavi 2024-07-03 22:30:50 +03:30
parent 7ba4ed647f
commit d3bcf855e4

View file

@ -238,7 +238,7 @@ SPECTACULAR_SETTINGS = {
AUTH_USER_MODEL = 'users.User'
CORS_ORIGIN_ALLOW_ALL = True
CSRF_TRUSTED_ORIGINS = ['http://*.boostanweb.ir', 'https://*.boostanweb.ir']
CSRF_TRUSTED_ORIGINS = ['http://*.gooyal.com', 'https://*.gooyal.com']
JALALI_DATE_DEFAULTS = {
'Strftime': {