csrf allow origin

This commit is contained in:
zakhy 2024-10-17 08:42:16 +07:00
parent 11bafeef5a
commit 0eac499133

View File

@ -126,8 +126,8 @@ DEFAULT_AUTO_FIELD = 'django.db.models.BigAutoField'
# AUTH_USER_MODEL = 'users.User'
LOGIN_URL = '/users/login'
APP_VERSION = '1.0.0.2'
APP_VERSION = '1.0.0.3'
CSRF_TRUSTED_ORIGINS=["https://cybercode.pro/"]
try:
from cybercode.local_settings import *
except ModuleNotFoundError: