diff --git a/TWB/settings.py b/TWB/settings.py index 093658f..f77f3e4 100644 --- a/TWB/settings.py +++ b/TWB/settings.py @@ -16,6 +16,7 @@ from pathlib import Path BASE_DIR = Path(__file__).resolve().parent.parent SECURE_PROXY_SSL_HEADER = ('HTTP_X_FORWARDED_PROTO', 'https') +CSRF_TRUSTED_ORIGINS = ['https://tripwb.com'] # Quick-start development settings - unsuitable for production # See https://docs.djangoproject.com/en/4.2/howto/deployment/checklist/