diff --git a/main/settings.py b/main/settings.py index acbefc6..dbe47fe 100644 --- a/main/settings.py +++ b/main/settings.py @@ -221,7 +221,10 @@ 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://*.addwin.ir', 'https://*.addwin.ir', + ] JALALI_DATE_DEFAULTS = { 'Strftime': {