diff --git a/Platform/settings.py b/Platform/settings.py index ee632a4..295dbcd 100644 --- a/Platform/settings.py +++ b/Platform/settings.py @@ -18,6 +18,11 @@ BASE_DIR = Path(__file__).resolve().parent.parent AUTH_USER_MODEL = 'web.CustomUser' +CSRF_TRUSTED_ORIGINS = [ + 'https://platform.sprinthub.ru', + 'https://platform.develop.sprinthub.ru', +] + # Quick-start development settings - unsuitable for production # See https://docs.djangoproject.com/en/4.1/howto/deployment/checklist/